Last change
on this file since 2581 was
2574,
checked in by rgrieder, 16 years ago
|
Changed CEGUILua directory choosing and restricted root directory builds.
|
-
Property svn:eol-style set to
native
|
File size:
1.4 KB
|
Rev | Line | |
---|
[2509] | 1 | # Set the search paths for include files |
---|
| 2 | INCLUDE_DIRECTORIES( |
---|
| 3 | ${OGRE_INCLUDE_DIR} |
---|
| 4 | ${CEGUI_INCLUDE_DIR} |
---|
| 5 | ${ENet_INCLUDE_DIR} |
---|
| 6 | ${Boost_INCLUDE_DIRS} |
---|
| 7 | ${OPENAL_INCLUDE_DIR} |
---|
| 8 | ${ALUT_INCLUDE_DIR} |
---|
| 9 | ${VORBIS_INCLUDE_DIR} |
---|
| 10 | ${OGG_INCLUDE_DIR} |
---|
| 11 | ${LUA_INCLUDE_DIR} |
---|
| 12 | ${TCL_INCLUDE_PATH} |
---|
| 13 | ${DirectX_INCLUDE_DIR} |
---|
| 14 | ${ZLIB_INCLUDE_DIR} |
---|
| 15 | ) |
---|
[1505] | 16 | |
---|
[2574] | 17 | # Check whether the required CEGUILua version is even available |
---|
| 18 | IF(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ceguilua-${CEGUI_VERSION}) |
---|
| 19 | MESSAGE(FATAL_ERROR "Your CEGUI version is not supported (${CEGUI_VERSION})") |
---|
| 20 | ENDIF(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ceguilua-${CEGUI_VERSION}) |
---|
| 21 | |
---|
[2509] | 22 | INCLUDE_DIRECTORIES( |
---|
[2574] | 23 | ceguilua-${CEGUI_VERSION}/ceguilua |
---|
[2567] | 24 | cpptcl |
---|
| 25 | ois |
---|
| 26 | tinyxml |
---|
| 27 | tolua |
---|
| 28 | ) |
---|
| 29 | |
---|
| 30 | INCLUDE_DIRECTORIES( |
---|
[2509] | 31 | . |
---|
| 32 | orxonox |
---|
| 33 | # Required for tolua bind files that are in the build folder |
---|
| 34 | ${CMAKE_CURRENT_BINARY_DIR} |
---|
[2567] | 35 | ${CMAKE_CURRENT_BINARY_DIR}/orxonox |
---|
[2509] | 36 | ) |
---|
| 37 | |
---|
| 38 | # Set special macro symbols across all libraries |
---|
| 39 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTIXML_USE_TICPP") |
---|
| 40 | |
---|
[2574] | 41 | ADD_SUBDIRECTORY(ceguilua-${CEGUI_VERSION}/ceguilua) |
---|
[1505] | 42 | ADD_SUBDIRECTORY(cpptcl) |
---|
[2569] | 43 | ADD_SUBDIRECTORY(ogreceguirenderer) |
---|
[1505] | 44 | ADD_SUBDIRECTORY(ois) |
---|
| 45 | ADD_SUBDIRECTORY(tinyxml) |
---|
| 46 | ADD_SUBDIRECTORY(tolua) |
---|
| 47 | |
---|
[2519] | 48 | # Include macros |
---|
[2129] | 49 | INCLUDE(AddSourceFiles) |
---|
[2519] | 50 | INCLUDE(UseTolua) |
---|
[1810] | 51 | |
---|
| 52 | # Our own libraries |
---|
[1505] | 53 | ADD_SUBDIRECTORY(util) |
---|
| 54 | ADD_SUBDIRECTORY(core) |
---|
[2522] | 55 | #ADD_SUBDIRECTORY(audio) |
---|
[1505] | 56 | ADD_SUBDIRECTORY(network) |
---|
| 57 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.