Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1982 was 1980, checked in by adrfried, 16 years ago

using ceguilua-0.5.0

  • Property svn:eol-style set to native
File size: 1.6 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
19LINK_DIRECTORIES(
20  ${OGRE_LIB_DIR}
21  ${CEGUI_LIB_DIR}
22#  ${CEGUI_SCRIPT_LIB_DIR}
23#  ${CEGUI_OGRE_LIB_DIR}
24  ${ENet_LIBRARY}
25  ${Boost_LIBRARY_DIRS}
26  ${Zlib_LIBRARY_DIR}
27  ${TCL_LIBRARY}
28)
29
30INCLUDE_DIRECTORIES(
31  .
32  ..
33  ois
34  orxonox
35  tolua
36)
37
38ADD_SUBDIRECTORY(cpptcl)
39ADD_SUBDIRECTORY(ois)
40ADD_SUBDIRECTORY(tinyxml)
41#ADD_SUBDIRECTORY(lua)
42ADD_SUBDIRECTORY(tolua)
43
44# TODO: write include file for this stuff
45# Some people may not have CEGUILua installed, espc. with version 0.5
46# And we don't know what lua version it was linked against, so we compile
47# it ourselves.
48# So first, find out what CEGUI version we have.
49
50IF (WIN32)
51    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
52    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
53ELSE (WIN32)
54    IF (${CEGUI_VERSION} LESS 0.6.0)
55        ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua)
56        INCLUDE_DIRECTORIES(ceguilua-0.5.0)
57    ELSE (${CEGUI_VERSION} LESS 0.6.0)
58        ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
59        INCLUDE_DIRECTORIES(ceguilua-0.6.1)
60    ENDIF (${CEGUI_VERSION} LESS 0.6.0)
61ENDIF (WIN32)
62
63# Our own libraries
64ADD_SUBDIRECTORY(util)
65ADD_SUBDIRECTORY(core)
66ADD_SUBDIRECTORY(audio)
67ADD_SUBDIRECTORY(network)
68ADD_SUBDIRECTORY(orxonox)
Note: See TracBrowser for help on using the repository browser.