Changeset 3195
- Timestamp:
- Jun 19, 2009, 2:28:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/bin/CMakeLists.txt
r3167 r3195 40 40 IF(NOT CMAKE_CONFIGURATION_TYPES) 41 41 SET(_subdirs .) 42 SEt(_default_subdir .) 42 43 ELSE() 43 44 SET(_subdirs ${CMAKE_CONFIGURATION_TYPES}) 45 SEt(_default_subdir) # No default subdir 44 46 ENDIF() 45 47 STRING(REPLACE "/" "\\" ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY}) … … 53 55 FOREACH(_script ${RUN_SCRIPTS}) 54 56 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_script}.in ${CURRENT_RUNTIME_DIR}/${_script} @ONLY) 57 IF(_subdir STREQUAL _default_subdir) 58 # Convenience script to be used when sitting in the binary directory. Does nothing for MSVC 59 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_script}.in ${CMAKE_BINARY_DIR}/${_script} @ONLY) 60 ENDIF() 55 61 ENDFOREACH(_script) 56 62
Note: See TracChangeset
for help on using the changeset viewer.