Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2094 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
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
18# Set the search paths for the linking
19# TODO: remove this after the CMake Modules have been fixed and use absolut paths
20LINK_DIRECTORIES(
21  ${OGRE_LIB_DIR}
22  ${CEGUI_LIB_DIR}
23)
24
25INCLUDE_DIRECTORIES(
26  .
27  ..
28  ois
29  orxonox
30  tolua
31)
32
33ADD_SUBDIRECTORY(cpptcl)
34ADD_SUBDIRECTORY(ois)
35ADD_SUBDIRECTORY(tinyxml)
36#ADD_SUBDIRECTORY(lua)
37ADD_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
45IF (WIN32)
46    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
47    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
48ELSE (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)
56ENDIF (WIN32)
57
58# Our own libraries
59ADD_SUBDIRECTORY(util)
60ADD_SUBDIRECTORY(core)
61ADD_SUBDIRECTORY(audio)
62ADD_SUBDIRECTORY(network)
63ADD_SUBDIRECTORY(orxonox)
Note: See TracBrowser for help on using the repository browser.