Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy2/src/orxonox/CMakeLists.txt @ 2662

Last change on this file since 2662 was 2369, checked in by landauf, 16 years ago
  • Added a health bar
  • Some changes in CameraManager to handle the case when no camera exists after removing the last one, but this is still somehow buggy (freezes and later crashes reproducible but inexplicable after a few respawns)
  • Added PawnManager to handle destruction of Pawns without using delete within tick()
  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[1505]1SET( ORXONOX_SRC_FILES
[2087]2  CameraManager.cc
[1505]3  GraphicsEngine.cc
[2087]4  LevelManager.cc
[1505]5  Main.cc
[2369]6  PawnManager.cc
[2171]7  PlayerManager.cc
[1535]8  Settings.cc
[2129]9 
[1844]10  tolua/tolua_bind.cc
[1505]11)
12
[2130]13ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gamestates)
14ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gui)
15ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES objects)
16ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES overlays)
17ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES tools)
[2129]18
[1810]19GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
[1505]20ADD_CUSTOM_COMMAND(
[1843]21  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
[1755]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
[1815]23  DEPENDS
24    tolua_orxonox
25    tolua/tolua.pkg
26    gui/GUIManager.h
[1505]27  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
28)
[2087]29
30
[1505]31ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
32
33IF(NETWORKTRAFFIC_TESTING_ENABLED)
34
35  SET( ORXONOXS_SRC_FILES
36    GraphicsEngine.cc
37    objects/Camera.cc
[2087]38    CameraManager.cc
[1505]39  )
40
41  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
42ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
43
44TARGET_LINK_LIBRARIES( orxonox
45  ${OGRE_LIBRARIES}
[1755]46  ${CEGUI_LIBRARIES}
[1810]47  lua_orxonox
48  ceguilua_orxonox
49  tinyxml_orxonox
50  tolualib_orxonox
[1505]51  util
52  core
53  audio
54  network
55)
56
Note: See TracBrowser for help on using the repository browser.