Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem/bin/CMakeLists.txt @ 2516

Last change on this file since 2516 was 2401, checked in by adrfried, 16 years ago

default ogre.cfg added for tardis

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