Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added CMake macro to more easily incude subfolders

  • Property svn:eol-style set to native
File size: 1.0 KB
RevLine 
[1505]1INCLUDE_DIRECTORIES(.)
[1555]2INCLUDE_DIRECTORIES(..)
[1505]3INCLUDE_DIRECTORIES(orxonox)
4
5ADD_SUBDIRECTORY(cpptcl)
6ADD_SUBDIRECTORY(ois)
7ADD_SUBDIRECTORY(tinyxml)
[1810]8ADD_SUBDIRECTORY(lua)
[1505]9ADD_SUBDIRECTORY(tolua)
10
[1810]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.
[1854]15
16IF (WIN32)
17    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
[1810]18    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
[1854]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)
[1810]28
[2125]29# Include macro to easily add source files in subdirectories
30INCLUDE(AddSourceFiles)
[1810]31
32# Our own libraries
[1505]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.