Last change
on this file since 2126 was
2125,
checked in by rgrieder, 16 years ago
|
Added CMake macro to more easily incude subfolders
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1505] | 1 | INCLUDE_DIRECTORIES(.) |
---|
[1555] | 2 | INCLUDE_DIRECTORIES(..) |
---|
[1505] | 3 | INCLUDE_DIRECTORIES(orxonox) |
---|
| 4 | |
---|
| 5 | ADD_SUBDIRECTORY(cpptcl) |
---|
| 6 | ADD_SUBDIRECTORY(ois) |
---|
| 7 | ADD_SUBDIRECTORY(tinyxml) |
---|
[1810] | 8 | ADD_SUBDIRECTORY(lua) |
---|
[1505] | 9 | ADD_SUBDIRECTORY(tolua) |
---|
| 10 | |
---|
[1810] | 11 | # Some people may not have CEGUILua installed, espc. with version 0.5 |
---|
| 12 | # And we don't know what lua version it was linked against, so we compile |
---|
| 13 | # it ourselves. |
---|
| 14 | # So first, find out what CEGUI version we have. |
---|
[1854] | 15 | |
---|
| 16 | IF (WIN32) |
---|
| 17 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
[1810] | 18 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
[1854] | 19 | ELSE (WIN32) |
---|
| 20 | IF (${CEGUI_VERSION} LESS 0.6.0) |
---|
| 21 | ADD_SUBDIRECTORY(ceguilua-0.5.0b/ceguilua) |
---|
| 22 | INCLUDE_DIRECTORIES(ceguilua-0.5.0b) |
---|
| 23 | ELSE (${CEGUI_VERSION} LESS 0.6.0) |
---|
| 24 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
| 25 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
| 26 | ENDIF (${CEGUI_VERSION} LESS 0.6.0) |
---|
| 27 | ENDIF (WIN32) |
---|
[1810] | 28 | |
---|
[2125] | 29 | # Include macro to easily add source files in subdirectories |
---|
| 30 | INCLUDE(AddSourceFiles) |
---|
[1810] | 31 | |
---|
| 32 | # Our own libraries |
---|
[1505] | 33 | ADD_SUBDIRECTORY(util) |
---|
| 34 | ADD_SUBDIRECTORY(core) |
---|
| 35 | ADD_SUBDIRECTORY(audio) |
---|
| 36 | ADD_SUBDIRECTORY(network) |
---|
| 37 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.