Last change
on this file since 2193 was
2135,
checked in by rgrieder, 16 years ago
|
Removed root directory (not src/!) from include directories
|
-
Property svn:eol-style set to
native
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1977] | 1 | # Set the search paths for include files |
---|
| 2 | INCLUDE_DIRECTORIES( |
---|
| 3 | ${OGRE_INCLUDE_DIR} |
---|
| 4 | ${CEGUI_INCLUDE_DIR} |
---|
| 5 | # ${CEGUI_OGRE_INCLUDE_DIR} |
---|
| 6 | ${ENet_INCLUDE_DIR} |
---|
| 7 | ${Boost_INCLUDE_DIRS} |
---|
| 8 | ${OPENAL_INCLUDE_DIR} |
---|
| 9 | ${ALUT_INCLUDE_DIR} |
---|
| 10 | ${VORBIS_INCLUDE_DIR} |
---|
| 11 | ${OGG_INCLUDE_DIR} |
---|
| 12 | ${LUA_INCLUDE_DIR} |
---|
| 13 | ${TCL_INCLUDE_PATH} |
---|
| 14 | ${DirectX_INCLUDE_DIR} |
---|
| 15 | ${ZLIB_INCLUDE_DIR} |
---|
| 16 | ) |
---|
[1505] | 17 | |
---|
[1977] | 18 | # Set the search paths for the linking |
---|
[2054] | 19 | # TODO: remove this after the CMake Modules have been fixed and use absolut paths |
---|
[1977] | 20 | LINK_DIRECTORIES( |
---|
| 21 | ${OGRE_LIB_DIR} |
---|
| 22 | ${CEGUI_LIB_DIR} |
---|
| 23 | ) |
---|
| 24 | |
---|
| 25 | INCLUDE_DIRECTORIES( |
---|
| 26 | . |
---|
| 27 | ois |
---|
| 28 | orxonox |
---|
[1979] | 29 | tolua |
---|
[1977] | 30 | ) |
---|
| 31 | |
---|
[1505] | 32 | ADD_SUBDIRECTORY(cpptcl) |
---|
| 33 | ADD_SUBDIRECTORY(ois) |
---|
| 34 | ADD_SUBDIRECTORY(tinyxml) |
---|
[1975] | 35 | #ADD_SUBDIRECTORY(lua) |
---|
[1505] | 36 | ADD_SUBDIRECTORY(tolua) |
---|
| 37 | |
---|
[1977] | 38 | # TODO: write include file for this stuff |
---|
[1810] | 39 | # Some people may not have CEGUILua installed, espc. with version 0.5 |
---|
| 40 | # And we don't know what lua version it was linked against, so we compile |
---|
| 41 | # it ourselves. |
---|
| 42 | # So first, find out what CEGUI version we have. |
---|
[1854] | 43 | |
---|
[1979] | 44 | IF (WIN32) |
---|
| 45 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
| 46 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
| 47 | ELSE (WIN32) |
---|
| 48 | IF (${CEGUI_VERSION} LESS 0.6.0) |
---|
[1980] | 49 | ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua) |
---|
| 50 | INCLUDE_DIRECTORIES(ceguilua-0.5.0) |
---|
[1979] | 51 | ELSE (${CEGUI_VERSION} LESS 0.6.0) |
---|
| 52 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
| 53 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
| 54 | ENDIF (${CEGUI_VERSION} LESS 0.6.0) |
---|
| 55 | ENDIF (WIN32) |
---|
[1810] | 56 | |
---|
| 57 | # Our own libraries |
---|
[1505] | 58 | ADD_SUBDIRECTORY(util) |
---|
| 59 | ADD_SUBDIRECTORY(core) |
---|
| 60 | ADD_SUBDIRECTORY(audio) |
---|
| 61 | ADD_SUBDIRECTORY(network) |
---|
| 62 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.