Last change
on this file since 2569 was
2569,
checked in by rgrieder, 16 years ago
|
Moved OgreCEGUIRenderer to its own folder in src since it's actually a library.
|
-
Property svn:eol-style set to
native
|
File size:
1014 bytes
|
Line | |
---|
1 | ADD_SOURCE_FILES( |
---|
2 | CameraManager.cc |
---|
3 | GraphicsEngine.cc |
---|
4 | LevelManager.cc |
---|
5 | Main.cc |
---|
6 | PlayerManager.cc |
---|
7 | Settings.cc |
---|
8 | ) |
---|
9 | |
---|
10 | ADD_SOURCE_DIRECTORY(gamestates) |
---|
11 | ADD_SOURCE_DIRECTORY(gui) |
---|
12 | ADD_SOURCE_DIRECTORY(objects) |
---|
13 | ADD_SOURCE_DIRECTORY(overlays) |
---|
14 | ADD_SOURCE_DIRECTORY(tools) |
---|
15 | |
---|
16 | WRITE_SOURCE_FILES(ORXONOX_SRC_FILES) |
---|
17 | |
---|
18 | TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h) |
---|
19 | |
---|
20 | # Not using precompiled header files: Avoid dependencies |
---|
21 | INCLUDE_DIRECTORIES(pch/nopch) |
---|
22 | |
---|
23 | ADD_EXECUTABLE(orxonox ${ORXONOX_SRC_FILES}) |
---|
24 | |
---|
25 | IF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
26 | |
---|
27 | SET( ORXONOXS_SRC_FILES |
---|
28 | GraphicsEngine.cc |
---|
29 | objects/Camera.cc |
---|
30 | CameraManager.cc |
---|
31 | ) |
---|
32 | |
---|
33 | ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES}) |
---|
34 | ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
35 | |
---|
36 | TARGET_LINK_LIBRARIES( orxonox |
---|
37 | ${OGRE_LIBRARY} |
---|
38 | ${CEGUI_LIBRARY} |
---|
39 | ${LUA_LIBRARIES} |
---|
40 | #${CEGUI_SCRIPT_LIBRARIES} |
---|
41 | ceguilua_orxonox |
---|
42 | ogreceguirenderer_orxonox |
---|
43 | tinyxml_orxonox |
---|
44 | tolualib_orxonox |
---|
45 | util |
---|
46 | core |
---|
47 | #audio |
---|
48 | network |
---|
49 | ) |
---|
50 | |
---|
51 | INSTALL(TARGETS orxonox RUNTIME DESTINATION bin) |
---|
Note: See
TracBrowser
for help on using the repository browser.