Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2568 was 2523, checked in by rgrieder, 16 years ago

def_masterKeybindings.ini was missing in the config files.

  • Property svn:eol-style set to native
File size: 893 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(IS_TARDIS)
11  # OGRE can't find fonts to display config screen on Tardis,
12  # so providing default config file here.
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(IS_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 ${EXECUTABLE_OUTPUT_PATH}/${_filename})
36    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${EXECUTABLE_OUTPUT_PATH}/${_filename} COPYONLY)
37  ENDIF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename})
38ENDFOREACH(_FILE)
Note: See TracBrowser for help on using the repository browser.