Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1990 was 1989, checked in by landauf, 16 years ago
  • added ControllableEntity, the baseclass of all players, vehicles and ships.
  • moved Template to core
  • some changes in Camera
  • added 6 constants to WorldEntity to identify relative directions
  • changed vom Radian to Degree as default angle unit
  • Property svn:eol-style set to native
File size: 2.4 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  overlays/hud/ChatOverlay.cc
36
37  tools/BillboardSet.cc
38  tools/Light.cc
39  tools/Mesh.cc
40  tools/ParticleInterface.cc
41  tools/TextureGenerator.cc
42  tools/Timer.cc
43  tools/WindowEventListener.cc
44
45  objects/worldentities/WorldEntity.cc
46  objects/worldentities/PositionableEntity.cc
47  objects/worldentities/MovableEntity.cc
48  objects/worldentities/ControllableEntity.cc
49#  objects/Backlight.cc
50  objects/Camera.cc
51  objects/CameraHandler.cc
52#  objects/ParticleSpawner.cc
53  objects/Radar.cc
54  objects/RadarListener.cc
55  objects/RadarViewable.cc
56  objects/Tickable.cc
57  objects/Test.cc
58  objects/Script.cc
59  objects/Trigger.cc
60  objects/DistanceTrigger.cc
61
62  objects/infos/Info.cc
63  objects/infos/LevelInfo.cc
64  objects/infos/PlayerInfo.cc
65
66  objects/gametypes/Gametype.cc
67
68  tolua/tolua_bind.cc
69)
70
71GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
72ADD_CUSTOM_COMMAND(
73  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
74  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
75  DEPENDS
76    tolua_orxonox
77    tolua/tolua.pkg
78    gui/GUIManager.h
79  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
80)
81
82
83ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
84
85IF(NETWORKTRAFFIC_TESTING_ENABLED)
86
87  SET( ORXONOXS_SRC_FILES
88    GraphicsEngine.cc
89    objects/Camera.cc
90    objects/CameraHandler.cc
91  )
92
93  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
94ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
95
96TARGET_LINK_LIBRARIES( orxonox
97  ${OGRE_LIBRARIES}
98  ${CEGUI_LIBRARIES}
99  lua_orxonox
100  ceguilua_orxonox
101  tinyxml_orxonox
102  tolualib_orxonox
103  util
104  core
105  audio
106  network
107)
108
Note: See TracBrowser for help on using the repository browser.