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