Last change
on this file since 2070 was
2054,
checked in by adrfried, 16 years ago
|
FindALUT and FindENet cleaned up
|
-
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 | .. |
---|
28 | ois |
---|
29 | orxonox |
---|
30 | tolua |
---|
31 | ) |
---|
32 | |
---|
33 | ADD_SUBDIRECTORY(cpptcl) |
---|
34 | ADD_SUBDIRECTORY(ois) |
---|
35 | ADD_SUBDIRECTORY(tinyxml) |
---|
36 | #ADD_SUBDIRECTORY(lua) |
---|
37 | ADD_SUBDIRECTORY(tolua) |
---|
38 | |
---|
39 | # TODO: write include file for this stuff |
---|
40 | # Some people may not have CEGUILua installed, espc. with version 0.5 |
---|
41 | # And we don't know what lua version it was linked against, so we compile |
---|
42 | # it ourselves. |
---|
43 | # So first, find out what CEGUI version we have. |
---|
44 | |
---|
45 | IF (WIN32) |
---|
46 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
47 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
48 | ELSE (WIN32) |
---|
49 | IF (${CEGUI_VERSION} LESS 0.6.0) |
---|
50 | ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua) |
---|
51 | INCLUDE_DIRECTORIES(ceguilua-0.5.0) |
---|
52 | ELSE (${CEGUI_VERSION} LESS 0.6.0) |
---|
53 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
54 | INCLUDE_DIRECTORIES(ceguilua-0.6.1) |
---|
55 | ENDIF (${CEGUI_VERSION} LESS 0.6.0) |
---|
56 | ENDIF (WIN32) |
---|
57 | |
---|
58 | # Our own libraries |
---|
59 | ADD_SUBDIRECTORY(util) |
---|
60 | ADD_SUBDIRECTORY(core) |
---|
61 | ADD_SUBDIRECTORY(audio) |
---|
62 | ADD_SUBDIRECTORY(network) |
---|
63 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.