Changeset 8233
- Timestamp:
- Apr 12, 2011, 3:18:55 PM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/cmake/tools/TargetUtilities.cmake
r8080 r8233 53 53 # This function also installs the target! 54 54 # Prerequisistes: 55 # ORXONOX_DEFAULT_LINK , ORXONOX_CONFIG_FILES, ORXONOX_CONFIG_FILES_GENERATED55 # ORXONOX_DEFAULT_LINK 56 56 # Parameters: 57 57 # _target_name, ARGN for the macro arguments … … 206 206 SOURCE_GROUP("Config" FILES ${CMAKE_CURRENT_SOURCE_DIR}/${_arg_PCH_FILE}) 207 207 ENDIF() 208 # Also include all config files209 LIST(APPEND _${_target_name}_files ${ORXONOX_CONFIG_FILES} ${ORXONOX_CONFIG_FILES_GENERATED})210 # Add unprocessed config files to the 'Config' section211 SOURCE_GROUP("Config" FILES ${ORXONOX_CONFIG_FILES})212 # Add generated config files to the 'Generated' section213 SOURCE_GROUP("Generated" FILES ${ORXONOX_CONFIG_FILES_GENERATED})214 208 ENDIF() 215 209 ENDIF() -
code/branches/kicklib/src/OrxonoxConfig.cmake
r8073 r8233 111 111 ${CMAKE_CURRENT_BINARY_DIR}/SpecialConfig.h 112 112 ) 113 114 # Make special target including the configured header files for Visual Studio 115 IF(MSVC) 116 ADD_CUSTOM_TARGET(config 117 SOURCES 118 ${ORXONOX_CONFIG_FILES} 119 ${ORXONOX_CONFIG_FILES_GENERATED} 120 ) 121 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.