Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/bin/CMakeLists.txt @ 2588

Last change on this file since 2588 was 2584, checked in by rgrieder, 16 years ago

Build fix introduced by some changes in root CMLs.

  • Property svn:eol-style set to native
File size: 917 bytes
Line 
1SET(CONFIG_FILES
2  def_keybindings.ini
3  def_masterKeybindings.ini
4  disco.txt
5  irc.tcl
6  remote.tcl
7  telnet_server.tcl
8)
9
10IF(TARDIS)
11  # OGRE can't find fonts to display config screen on Tardis,
12  # so providing default config file here (bug).
13  SET(CONFIG_FILES ${CONFIG_FILES}
14    linux/run-script
15    tardis/orxonox.ini
16    tardis/ogre.cfg
17  )
18
19ELSEIF(UNIX)
20  SET(CONFIG_FILES ${CONFIG_FILES}
21    linux/run-script
22    linux/orxonox.ini
23  )
24ENDIF(TARDIS)
25
26IF(MINGW)
27  SET(CONFIG_FILES ${CONFIG_FILES}
28    "mingw/orxonox.ini"
29    "mingw/orxonox.bat"
30  )
31ENDIF(MINGW)
32
33FOREACH(_FILE ${CONFIG_FILES})
34  GET_FILENAME_COMPONENT(_filename ${_FILE} NAME)
35  IF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename})
36    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename} COPYONLY)
37  ENDIF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename})
38ENDFOREACH(_FILE)
Note: See TracBrowser for help on using the repository browser.