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
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 ${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.