Changeset 2243 for code/branches/buildsystem/bin/CMakeLists.txt
- Timestamp:
- Nov 21, 2008, 12:22:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/bin/CMakeLists.txt
r2241 r2243 1 1 SET(CONFIG_FILES 2 def_keybindings.ini 3 disco.txt 4 irc.tcl 5 ogre.cfg-init 6 orxonox.bat 7 Plugins.cfg 8 plugins.cfg-init 9 remote.tcl 10 run-script 11 telnet_server.tcl 2 def_keybindings.ini 3 disco.txt 4 irc.tcl 5 remote.tcl 6 telnet_server.tcl 12 7 ) 13 8 9 IF(IS_TARDIS) 10 SET(CONFIG_FILES ${CONFIG_FILES} 11 linux/run-script 12 tardis/plugins.cfg 13 ) 14 15 ELSEIF(UNIX) 16 SET(CONFIG_FILES ${CONFIG_FILES} 17 linux/run-script 18 linux/plugins.cfg 19 ) 20 ENDIF(IS_TARDIS) 21 22 IF(MINGW) 23 SET(CONFIG_FILES ${CONFIG_FILES} 24 "mingw/plugins.cfg" 25 "mingw/orxonox.bat" 26 ) 27 ENDIF(MINGW) 28 14 29 FOREACH(_FILE ${CONFIG_FILES}) 15 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${EXECUTABLE_OUTPUT_PATH}/${_FILE} COPYONLY) 30 GET_FILENAME_COMPONENT(_filename ${_FILE} NAME) 31 IF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename}) 32 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${EXECUTABLE_OUTPUT_PATH}/${_filename} COPYONLY) 33 ENDIF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename}) 16 34 ENDFOREACH(_FILE)
Note: See TracChangeset
for help on using the changeset viewer.