Last change
on this file since 2663 was
2662,
checked in by rgrieder, 16 years ago
|
Merged presentation branch back to trunk.
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | SET( ORXONOX_SRC_FILES |
---|
2 | CameraManager.cc |
---|
3 | GraphicsEngine.cc |
---|
4 | LevelManager.cc |
---|
5 | Main.cc |
---|
6 | PawnManager.cc |
---|
7 | PlayerManager.cc |
---|
8 | Settings.cc |
---|
9 | |
---|
10 | tolua/tolua_bind.cc |
---|
11 | ) |
---|
12 | |
---|
13 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gamestates) |
---|
14 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gui) |
---|
15 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES objects) |
---|
16 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES overlays) |
---|
17 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES tools) |
---|
18 | |
---|
19 | GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) |
---|
20 | ADD_CUSTOM_COMMAND( |
---|
21 | OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h |
---|
22 | COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg |
---|
23 | DEPENDS |
---|
24 | tolua_orxonox |
---|
25 | tolua/tolua.pkg |
---|
26 | gui/GUIManager.h |
---|
27 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib |
---|
28 | ) |
---|
29 | |
---|
30 | |
---|
31 | ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) |
---|
32 | |
---|
33 | IF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
34 | |
---|
35 | SET( ORXONOXS_SRC_FILES |
---|
36 | GraphicsEngine.cc |
---|
37 | objects/Camera.cc |
---|
38 | CameraManager.cc |
---|
39 | ) |
---|
40 | |
---|
41 | ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES}) |
---|
42 | ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
43 | |
---|
44 | TARGET_LINK_LIBRARIES( orxonox |
---|
45 | ${OGRE_LIBRARIES} |
---|
46 | ${CEGUI_LIBRARIES} |
---|
47 | lua_orxonox |
---|
48 | ceguilua_orxonox |
---|
49 | tinyxml_orxonox |
---|
50 | tolualib_orxonox |
---|
51 | BulletDynamics |
---|
52 | BulletCollision |
---|
53 | LinearMath |
---|
54 | util |
---|
55 | core |
---|
56 | audio |
---|
57 | network |
---|
58 | ) |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.