Last change
on this file since 2138 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
|
Line | |
---|
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 | ) |
---|
17 | |
---|
18 | # Set the search paths for the linking |
---|
19 | # TODO: remove this after the CMake Modules have been fixed and use absolut paths |
---|
20 | LINK_DIRECTORIES( |
---|
21 | ${OGRE_LIB_DIR} |
---|
22 | ${CEGUI_LIB_DIR} |
---|
23 | ) |
---|
24 | |
---|
25 | INCLUDE_DIRECTORIES( |
---|
26 | . |
---|
27 | ois |
---|
28 | orxonox |
---|
29 | tolua |
---|
30 | ) |
---|
31 | |
---|
32 | ADD_SUBDIRECTORY(cpptcl) |
---|
33 | ADD_SUBDIRECTORY(ois) |
---|
34 | ADD_SUBDIRECTORY(tinyxml) |
---|
35 | #ADD_SUBDIRECTORY(lua) |
---|
36 | ADD_SUBDIRECTORY(tolua) |
---|
37 | |
---|
38 | # TODO: write include file for this stuff |
---|
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. |
---|
43 | |
---|
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) |
---|
49 | ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua) |
---|
50 | INCLUDE_DIRECTORIES(ceguilua-0.5.0) |
---|
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) |
---|
56 | |
---|
57 | # Our own libraries |
---|
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.