Last change
on this file since 2570 was
2570,
checked in by rgrieder, 16 years ago
|
Removed ogreceguirenderer from the include directories because the files can get included with OgreMain, which will result in errors. The other paths (cpptcl, ois, tinyxml, tolua) are not affected by this behaviour.
|
-
Property svn:eol-style set to
native
|
File size:
1.7 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 | INCLUDE_DIRECTORIES( |
---|
19 | cpptcl |
---|
20 | ois |
---|
21 | tinyxml |
---|
22 | tolua |
---|
23 | ) |
---|
24 | |
---|
25 | INCLUDE_DIRECTORIES( |
---|
26 | . |
---|
27 | orxonox |
---|
28 | # Required for tolua bind files that are in the build folder |
---|
29 | ${CMAKE_CURRENT_BINARY_DIR} |
---|
30 | ${CMAKE_CURRENT_BINARY_DIR}/orxonox |
---|
31 | ) |
---|
32 | |
---|
33 | # Set special macro symbols across all libraries |
---|
34 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTIXML_USE_TICPP") |
---|
35 | |
---|
36 | ADD_SUBDIRECTORY(cpptcl) |
---|
37 | ADD_SUBDIRECTORY(ogreceguirenderer) |
---|
38 | ADD_SUBDIRECTORY(ois) |
---|
39 | ADD_SUBDIRECTORY(tinyxml) |
---|
40 | ADD_SUBDIRECTORY(tolua) |
---|
41 | |
---|
42 | # TODO: FIXME |
---|
43 | # Some people may not have CEGUILua installed, espc. with version 0.5 |
---|
44 | # And we don't know what lua version it was linked against, so we compile |
---|
45 | # it ourselves. |
---|
46 | # So first, find out what CEGUI version we have. |
---|
47 | |
---|
48 | IF (WIN32) |
---|
49 | ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
50 | INCLUDE_DIRECTORIES(ceguilua-0.6.1/ceguilua) |
---|
51 | ELSE (WIN32) |
---|
52 | # FIXME |
---|
53 | #IF (${CEGUI_VERSION} LESS 0.6.0) |
---|
54 | ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua) |
---|
55 | INCLUDE_DIRECTORIES(ceguilua-0.5.0/ceguilua) |
---|
56 | #ELSE (${CEGUI_VERSION} LESS 0.6.0) |
---|
57 | # ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua) |
---|
58 | # INCLUDE_DIRECTORIES(ceguilua-0.6.1/ceguilua) |
---|
59 | #ENDIF (${CEGUI_VERSION} LESS 0.6.0) |
---|
60 | ENDIF (WIN32) |
---|
61 | |
---|
62 | # Include macros |
---|
63 | INCLUDE(AddSourceFiles) |
---|
64 | INCLUDE(UseTolua) |
---|
65 | |
---|
66 | # Our own libraries |
---|
67 | ADD_SUBDIRECTORY(util) |
---|
68 | ADD_SUBDIRECTORY(core) |
---|
69 | #ADD_SUBDIRECTORY(audio) |
---|
70 | ADD_SUBDIRECTORY(network) |
---|
71 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.