Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem/src/CMakeLists.txt @ 2231

Last change on this file since 2231 was 2198, checked in by adrfried, 16 years ago

FindOGRE cleaned up

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# Set the search paths for include files
2INCLUDE_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
18INCLUDE_DIRECTORIES(
19  .
20  ois
21  orxonox
22  tolua
23)
24
25ADD_SUBDIRECTORY(cpptcl)
26ADD_SUBDIRECTORY(ois)
27ADD_SUBDIRECTORY(tinyxml)
28ADD_SUBDIRECTORY(tolua)
29
30# TODO: write include file for this stuff
31# Some people may not have CEGUILua installed, espc. with version 0.5
32# And we don't know what lua version it was linked against, so we compile
33# it ourselves.
34# So first, find out what CEGUI version we have.
35
36IF (WIN32)
37    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
38    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
39ELSE (WIN32)
40    # FIXME
41    #IF (${CEGUI_VERSION} LESS 0.6.0)
42        ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua)
43        INCLUDE_DIRECTORIES(ceguilua-0.5.0)
44    #ELSE (${CEGUI_VERSION} LESS 0.6.0)
45    #    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
46    #    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
47    #ENDIF (${CEGUI_VERSION} LESS 0.6.0)
48ENDIF (WIN32)
49
50# Our own libraries
51ADD_SUBDIRECTORY(util)
52ADD_SUBDIRECTORY(core)
53ADD_SUBDIRECTORY(audio)
54ADD_SUBDIRECTORY(network)
55ADD_SUBDIRECTORY(orxonox)
Note: See TracBrowser for help on using the repository browser.