|
Last change
on this file since 2871 was
2171,
checked in by landauf, 17 years ago
|
|
merged revisions 2111-2170 from objecthierarchy 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 | PlayerManager.cc |
|---|
| 7 | Settings.cc |
|---|
| 8 | |
|---|
| 9 | tolua/tolua_bind.cc |
|---|
| 10 | ) |
|---|
| 11 | |
|---|
| 12 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gamestates) |
|---|
| 13 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gui) |
|---|
| 14 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES objects) |
|---|
| 15 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES overlays) |
|---|
| 16 | ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES tools) |
|---|
| 17 | |
|---|
| 18 | GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) |
|---|
| 19 | ADD_CUSTOM_COMMAND( |
|---|
| 20 | OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h |
|---|
| 21 | COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg |
|---|
| 22 | DEPENDS |
|---|
| 23 | tolua_orxonox |
|---|
| 24 | tolua/tolua.pkg |
|---|
| 25 | gui/GUIManager.h |
|---|
| 26 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib |
|---|
| 27 | ) |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) |
|---|
| 31 | |
|---|
| 32 | IF(NETWORKTRAFFIC_TESTING_ENABLED) |
|---|
| 33 | |
|---|
| 34 | SET( ORXONOXS_SRC_FILES |
|---|
| 35 | GraphicsEngine.cc |
|---|
| 36 | objects/Camera.cc |
|---|
| 37 | CameraManager.cc |
|---|
| 38 | ) |
|---|
| 39 | |
|---|
| 40 | ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES}) |
|---|
| 41 | ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) |
|---|
| 42 | |
|---|
| 43 | TARGET_LINK_LIBRARIES( orxonox |
|---|
| 44 | ${OGRE_LIBRARIES} |
|---|
| 45 | ${CEGUI_LIBRARIES} |
|---|
| 46 | lua_orxonox |
|---|
| 47 | ceguilua_orxonox |
|---|
| 48 | tinyxml_orxonox |
|---|
| 49 | tolualib_orxonox |
|---|
| 50 | util |
|---|
| 51 | core |
|---|
| 52 | audio |
|---|
| 53 | network |
|---|
| 54 | ) |
|---|
| 55 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.