Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/orxonox/CMakeLists.txt @ 1946

Last change on this file since 1946 was 1940, checked in by landauf, 16 years ago

did some first (and very unfinished) steps to deal with different players on server and client

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Settings.cc
5  SignalHandler.cc
6
7  gamestates/GSClient.cc
8  gamestates/GSDedicated.cc
9  gamestates/GSGraphics.cc
10  gamestates/GSGUI.cc
11  gamestates/GSIOConsole.cc
12  gamestates/GSLevel.cc
13  gamestates/GSRoot.cc
14  gamestates/GSServer.cc
15  gamestates/GSStandalone.cc
16
17  gui/GUIManager.cc
18  gui/OgreCEGUIRenderer.cpp
19  gui/OgreCEGUIResourceProvider.cpp
20  gui/OgreCEGUITexture.cpp
21
22  overlays/OrxonoxOverlay.cc
23  overlays/OverlayGroup.cc
24  overlays/OverlayText.cc
25
26  overlays/console/InGameConsole.cc
27
28  overlays/debug/DebugFPSText.cc
29  overlays/debug/DebugRTRText.cc
30
31  overlays/hud/HUDBar.cc
32  overlays/hud/HUDNavigation.cc
33  overlays/hud/HUDRadar.cc
34  overlays/hud/HUDSpeedBar.cc
35
36  tools/BillboardSet.cc
37  tools/Light.cc
38  tools/Mesh.cc
39  tools/ParticleInterface.cc
40  tools/TextureGenerator.cc
41  tools/Timer.cc
42  tools/WindowEventListener.cc
43
44  objects/worldentities/WorldEntity.cc
45  objects/worldentities/PositionableEntity.cc
46#  objects/Backlight.cc
47  objects/Camera.cc
48  objects/CameraHandler.cc
49#  objects/ParticleSpawner.cc
50  objects/Radar.cc
51  objects/RadarListener.cc
52  objects/RadarViewable.cc
53  objects/Tickable.cc
54
55  objects/infos/Info.cc
56  objects/infos/LevelInfo.cc
57  objects/infos/PlayerInfo.cc
58
59  objects/gametypes/Gametype.cc
60
61  tolua/tolua_bind.cc
62)
63
64GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
65ADD_CUSTOM_COMMAND(
66  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
67  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
68  DEPENDS
69    tolua_orxonox
70    tolua/tolua.pkg
71    gui/GUIManager.h
72  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
73)
74       
75ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
76
77IF(NETWORKTRAFFIC_TESTING_ENABLED)
78
79  SET( ORXONOXS_SRC_FILES
80    GraphicsEngine.cc
81    objects/Camera.cc
82    objects/CameraHandler.cc
83  )
84
85  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
86ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
87
88TARGET_LINK_LIBRARIES( orxonox
89  ${OGRE_LIBRARIES}
90  ${CEGUI_LIBRARIES}
91  lua_orxonox
92  ceguilua_orxonox
93  tinyxml_orxonox
94  tolualib_orxonox
95  util
96  core
97  audio
98  network
99)
100
Note: See TracBrowser for help on using the repository browser.