Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/CMakeLists.txt @ 2255

Last change on this file since 2255 was 2171, checked in by landauf, 16 years ago

merged revisions 2111-2170 from objecthierarchy branch back to trunk.

  • 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
[2171]6  PlayerManager.cc
[1535]7  Settings.cc
[2129]8 
[1844]9  tolua/tolua_bind.cc
[1505]10)
11
[2130]12ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gamestates)
13ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES gui)
14ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES objects)
15ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES overlays)
16ADD_SOURCE_DIRECTORY(ORXONOX_SRC_FILES tools)
[2129]17
[1810]18GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
[1505]19ADD_CUSTOM_COMMAND(
[1843]20  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
[1755]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
[1815]22  DEPENDS
23    tolua_orxonox
24    tolua/tolua.pkg
25    gui/GUIManager.h
[1505]26  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
27)
[2087]28
29
[1505]30ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
31
32IF(NETWORKTRAFFIC_TESTING_ENABLED)
33
34  SET( ORXONOXS_SRC_FILES
35    GraphicsEngine.cc
36    objects/Camera.cc
[2087]37    CameraManager.cc
[1505]38  )
39
40  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
41ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
42
43TARGET_LINK_LIBRARIES( orxonox
44  ${OGRE_LIBRARIES}
[1755]45  ${CEGUI_LIBRARIES}
[1810]46  lua_orxonox
47  ceguilua_orxonox
48  tinyxml_orxonox
49  tolualib_orxonox
[1505]50  util
51  core
52  audio
53  network
54)
55
Note: See TracBrowser for help on using the repository browser.