You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							874 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							874 B
						
					
					
				|  | |
| # Add all targets to the build-tree export set | |
| export(TARGETS ${STORM_TARGETS} FILE "${PROJECT_BINARY_DIR}/stormTargets.cmake") | |
|  | |
| message(STATUS "Registered with cmake") | |
| # Export the package for use from the build-tree | |
| # (this registers the build-tree with a global CMake-registry) | |
| export(PACKAGE storm) | |
|  | |
| set(DEP_TARGETS "") | |
| foreach(dt ${STORM_DEP_TARGETS})  | |
| 	export_target(DEP_TARGETS ${dt}) | |
| endforeach() | |
|  | |
| set(EXP_OPTIONS "") | |
| foreach(option ${EXPORTED_OPTIONS}) | |
|     set(EXP_OPTIONS "${EXP_OPTIONS}\nset(${option} \"${${option}}\")") | |
| endforeach() | |
|  | |
| include(CMakePackageConfigHelpers) | |
|  | |
| set(CONF_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/include/") | |
| configure_package_config_file( | |
|         resources/cmake/stormConfig.cmake.in | |
|         ${PROJECT_BINARY_DIR}/stormConfig.cmake | |
|         INSTALL_DESTINATION ${CMAKE_INSTALL_DIR} | |
|         PATH_VARS INCLUDE_INSTALL_DIR #SYSCONFIG_INSTALL_DIR | |
| )
 |