Last change
on this file since 2588 was
2584,
checked in by rgrieder, 16 years ago
|
Build fix introduced by some changes in root CMLs.
|
-
Property svn:eol-style set to
native
|
File size:
917 bytes
|
Line | |
---|
1 | SET(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 | |
---|
10 | IF(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 | |
---|
19 | ELSEIF(UNIX) |
---|
20 | SET(CONFIG_FILES ${CONFIG_FILES} |
---|
21 | linux/run-script |
---|
22 | linux/orxonox.ini |
---|
23 | ) |
---|
24 | ENDIF(TARDIS) |
---|
25 | |
---|
26 | IF(MINGW) |
---|
27 | SET(CONFIG_FILES ${CONFIG_FILES} |
---|
28 | "mingw/orxonox.ini" |
---|
29 | "mingw/orxonox.bat" |
---|
30 | ) |
---|
31 | ENDIF(MINGW) |
---|
32 | |
---|
33 | FOREACH(_FILE ${CONFIG_FILES}) |
---|
34 | GET_FILENAME_COMPONENT(_filename ${_FILE} NAME) |
---|
35 | IF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename}) |
---|
36 | CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename} COPYONLY) |
---|
37 | ENDIF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename}) |
---|
38 | ENDFOREACH(_FILE) |
---|
Note: See
TracBrowser
for help on using the repository browser.