Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/CMakeLists.txt @ 2125

Last change on this file since 2125 was 2125, checked in by rgrieder, 15 years ago

Added CMake macro to more easily incude subfolders

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1INCLUDE_DIRECTORIES(.)
2INCLUDE_DIRECTORIES(..)
3INCLUDE_DIRECTORIES(orxonox)
4
5ADD_SUBDIRECTORY(cpptcl)
6ADD_SUBDIRECTORY(ois)
7ADD_SUBDIRECTORY(tinyxml)
8ADD_SUBDIRECTORY(lua)
9ADD_SUBDIRECTORY(tolua)
10
11# Some people may not have CEGUILua installed, espc. with version 0.5
12# And we don't know what lua version it was linked against, so we compile
13# it ourselves.
14# So first, find out what CEGUI version we have.
15
16IF (WIN32)
17    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
18    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
19ELSE (WIN32)
20    IF (${CEGUI_VERSION} LESS 0.6.0)
21        ADD_SUBDIRECTORY(ceguilua-0.5.0b/ceguilua)
22        INCLUDE_DIRECTORIES(ceguilua-0.5.0b)
23    ELSE (${CEGUI_VERSION} LESS 0.6.0)
24        ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
25        INCLUDE_DIRECTORIES(ceguilua-0.6.1)
26    ENDIF (${CEGUI_VERSION} LESS 0.6.0)
27ENDIF (WIN32)
28
29# Include macro to easily add source files in subdirectories
30INCLUDE(AddSourceFiles)
31
32# Our own libraries
33ADD_SUBDIRECTORY(util)
34ADD_SUBDIRECTORY(core)
35ADD_SUBDIRECTORY(audio)
36ADD_SUBDIRECTORY(network)
37ADD_SUBDIRECTORY(orxonox)
Note: See TracBrowser for help on using the repository browser.