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
RevLine 
[1977]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)
[1505]17
[1977]18INCLUDE_DIRECTORIES(
19  .
20  ois
21  orxonox
[1979]22  tolua
[1977]23)
24
[1505]25ADD_SUBDIRECTORY(cpptcl)
26ADD_SUBDIRECTORY(ois)
27ADD_SUBDIRECTORY(tinyxml)
28ADD_SUBDIRECTORY(tolua)
29
[1977]30# TODO: write include file for this stuff
[1810]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.
[1854]35
[1979]36IF (WIN32)
37    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
38    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
39ELSE (WIN32)
[2197]40    # FIXME
41    #IF (${CEGUI_VERSION} LESS 0.6.0)
[1980]42        ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua)
43        INCLUDE_DIRECTORIES(ceguilua-0.5.0)
[2197]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)
[1979]48ENDIF (WIN32)
[1810]49
50# Our own libraries
[1505]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.