Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2162 was 2135, checked in by rgrieder, 16 years ago

Removed root directory (not src/!) from include directories

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