Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2583 was 2583, checked in by rgrieder, 15 years ago
  • Use $ENV{BOOST_ROOT} to find boost if possible
  • Set TOLUA_PARSER_WORKING_DIRECTORY now defaults to ${CMAKE_RUNTIME_OUTPUT_PATH}
  • Added bin/release, bin/debug, release and debug to the Ogre library prefix paths
  • Lots of small fixes and changes
  • Property svn:eol-style set to native
File size: 893 bytes
RevLine 
[2199]1SET(CONFIG_FILES
[2243]2  def_keybindings.ini
[2523]3  def_masterKeybindings.ini
[2243]4  disco.txt
5  irc.tcl
6  remote.tcl
7  telnet_server.tcl
[2199]8)
9
[2583]10IF(TARDIS)
[2510]11  # OGRE can't find fonts to display config screen on Tardis,
[2583]12  # so providing default config file here (bug).
[2243]13  SET(CONFIG_FILES ${CONFIG_FILES}
14    linux/run-script
[2510]15    tardis/orxonox.ini
16    tardis/ogre.cfg
[2243]17  )
18
19ELSEIF(UNIX)
20  SET(CONFIG_FILES ${CONFIG_FILES}
21    linux/run-script
[2510]22    linux/orxonox.ini
[2243]23  )
[2583]24ENDIF(TARDIS)
[2243]25
26IF(MINGW)
27  SET(CONFIG_FILES ${CONFIG_FILES}
[2244]28    "mingw/orxonox.ini"
[2243]29    "mingw/orxonox.bat"
30  )
31ENDIF(MINGW)
32
[2199]33FOREACH(_FILE ${CONFIG_FILES})
[2243]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})
[2199]38ENDFOREACH(_FILE)
Note: See TracBrowser for help on using the repository browser.