Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2510 was 2510, checked in by rgrieder, 15 years ago

Merged revisions 2279-2401 of the buildsystem branch to buildsystem2.

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