Last change
on this file since 2560 was
2546,
checked in by rgrieder, 16 years ago
|
Workaround to avoid the dependencies from OrxonoxStableHeaders.h on gcc when not using precompiled header files.
|
-
Property svn:eol-style set to
native
|
File size:
986 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 | tinyxml_orxonox |
---|
43 | tolualib_orxonox |
---|
44 | util |
---|
45 | core |
---|
46 | #audio |
---|
47 | network |
---|
48 | ) |
---|
49 | |
---|
50 | INSTALL(TARGETS orxonox RUNTIME DESTINATION bin) |
---|
Note: See
TracBrowser
for help on using the repository browser.