Changeset 3167 for code/branches/pch/bin
- Timestamp:
- Jun 14, 2009, 6:11:32 PM (16 years ago)
- Location:
- code/branches/pch/bin
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/bin/CMakeLists.txt
r2762 r3167 33 33 ENDFOREACH(_script) 34 34 ENDIF() 35 # Also copy vld.ini (visual leak detector config) for MSVC 36 IF(MSVC) 37 LIST(APPEND RUN_SCRIPTS vld.ini) 38 ENDIF() 35 39 36 40 IF(NOT CMAKE_CONFIGURATION_TYPES) 37 41 SET(_subdirs .) 38 SEt(_default_subdir .)39 42 ELSE() 40 43 SET(_subdirs ${CMAKE_CONFIGURATION_TYPES}) 41 SEt(_default_subdir Debug)42 44 ENDIF() 43 45 STRING(REPLACE "/" "\\" ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY}) … … 51 53 FOREACH(_script ${RUN_SCRIPTS}) 52 54 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_script}.in ${CURRENT_RUNTIME_DIR}/${_script} @ONLY) 53 IF(_subdir STREQUAL _default_subdir)54 # Convenience script to be used when sitting in the binary directory. Defaults to Debug for msvc.55 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_script}.in ${CMAKE_BINARY_DIR}/${_script} @ONLY)56 ENDIF()57 55 ENDFOREACH(_script) 58 56
Note: See TracChangeset
for help on using the changeset viewer.