Last change
on this file since 2608 was
2608,
checked in by rgrieder, 15 years ago
|
Large cleanup in CEGUILua:
- Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
- Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir.
That saves a lot of files when having 4 different versions.
- Added support for CEGUI 0.6.0 and 0.6.2
- Added library info files
- CEGUILua 0.5.0 finally supports Lua 5.1 too
That means all version support both Lua 5.0 and 5.1
- Added unified diffs with the changes to the CEGUILua source
|
-
Property svn:eol-style set to
native
|
File size:
1.4 KB
|
Line | |
---|
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 | ) |
---|
16 | |
---|
17 | # Check whether the required CEGUILua version is even available |
---|
18 | IF(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ceguilua/ceguilua-${CEGUI_VERSION}) |
---|
19 | MESSAGE(FATAL_ERROR "No matching CEGUILua version shipped with Orxonox (${CEGUI_VERSION})") |
---|
20 | ENDIF(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ceguilua/ceguilua-${CEGUI_VERSION}) |
---|
21 | |
---|
22 | INCLUDE_DIRECTORIES( |
---|
23 | ceguilua/ceguilua-${CEGUI_VERSION}/ceguilua |
---|
24 | cpptcl |
---|
25 | ois |
---|
26 | tinyxml |
---|
27 | tolua |
---|
28 | ) |
---|
29 | |
---|
30 | INCLUDE_DIRECTORIES( |
---|
31 | . |
---|
32 | orxonox |
---|
33 | # Required for tolua bind files that are in the build folder |
---|
34 | ${CMAKE_CURRENT_BINARY_DIR} |
---|
35 | ${CMAKE_CURRENT_BINARY_DIR}/orxonox |
---|
36 | ) |
---|
37 | |
---|
38 | # Set special macro symbols across all libraries |
---|
39 | ADD_CXX_FLAGS("-DTIXML_USE_TICPP" 1) |
---|
40 | ADD_C_FLAGS ("-DTIXML_USE_TICPP" 1) |
---|
41 | |
---|
42 | # Include macros |
---|
43 | INCLUDE(AddSourceFiles) |
---|
44 | INCLUDE(UseTolua) |
---|
45 | |
---|
46 | # External libraries, but copied into the repository |
---|
47 | ADD_SUBDIRECTORY(ceguilua) |
---|
48 | ADD_SUBDIRECTORY(cpptcl) |
---|
49 | ADD_SUBDIRECTORY(ogreceguirenderer) |
---|
50 | ADD_SUBDIRECTORY(ois) |
---|
51 | ADD_SUBDIRECTORY(tinyxml) |
---|
52 | ADD_SUBDIRECTORY(tolua) |
---|
53 | |
---|
54 | # Our own libraries |
---|
55 | ADD_SUBDIRECTORY(util) |
---|
56 | ADD_SUBDIRECTORY(core) |
---|
57 | #ADD_SUBDIRECTORY(audio) |
---|
58 | ADD_SUBDIRECTORY(network) |
---|
59 | ADD_SUBDIRECTORY(orxonox) |
---|
Note: See
TracBrowser
for help on using the repository browser.