Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2238 was 2237, checked in by rgrieder, 16 years ago

Added "-DTIXML_USE_TICPP" to CXX_FLAGS and removed manual declarations in the tixml folder.
That should effectively put ticpp into its orginal state, but I'm not entirely sure.

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