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