Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2274 was 2244, checked in by rgrieder, 16 years ago

Applied long created patch that removes plugins.cfg and puts the content into orxonox.ini
This also allows to specify the media path for each 'distribution' individually because orxonox.ini has been added to the default files.

  • Property svn:eol-style set to native
File size: 734 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  SET(CONFIG_FILES ${CONFIG_FILES}
11    linux/run-script
12        tardis/orxonox.ini
13  )
14
15ELSEIF(UNIX)
16  SET(CONFIG_FILES ${CONFIG_FILES}
17    linux/run-script
18        linux/orxonox.ini
19  )
20ENDIF(IS_TARDIS)
21
22IF(MINGW)
23  SET(CONFIG_FILES ${CONFIG_FILES}
24    "mingw/orxonox.ini"
25    "mingw/orxonox.bat"
26  )
27ENDIF(MINGW)
28
29FOREACH(_FILE ${CONFIG_FILES})
30  GET_FILENAME_COMPONENT(_filename ${_FILE} NAME)
31  IF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename})
32    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${EXECUTABLE_OUTPUT_PATH}/${_filename} COPYONLY)
33  ENDIF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename})
34ENDFOREACH(_FILE)
Note: See TracBrowser for help on using the repository browser.