Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2214 was 2169, checked in by landauf, 16 years ago

moved Level from objects/infos to objects, because it's no longer called "LevelInfo"

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1SET( ORXONOX_SRC_FILES
2  CameraManager.cc
3  GraphicsEngine.cc
4  LevelManager.cc
5  Main.cc
6  PlayerManager.cc
7  Settings.cc
8
9  gamestates/GSClient.cc
10  gamestates/GSDedicated.cc
11  gamestates/GSGraphics.cc
12  gamestates/GSGUI.cc
13  gamestates/GSIOConsole.cc
14  gamestates/GSLevel.cc
15  gamestates/GSRoot.cc
16  gamestates/GSServer.cc
17  gamestates/GSStandalone.cc
18
19  gui/GUIManager.cc
20  gui/OgreCEGUIRenderer.cpp
21  gui/OgreCEGUIResourceProvider.cpp
22  gui/OgreCEGUITexture.cpp
23
24  overlays/OrxonoxOverlay.cc
25  overlays/OverlayGroup.cc
26  overlays/OverlayText.cc
27
28  overlays/console/InGameConsole.cc
29
30  overlays/debug/DebugFPSText.cc
31  overlays/debug/DebugRTRText.cc
32
33  overlays/hud/HUDBar.cc
34  overlays/hud/HUDNavigation.cc
35  overlays/hud/HUDRadar.cc
36  overlays/hud/HUDSpeedBar.cc
37  overlays/hud/ChatOverlay.cc
38
39  tools/BillboardSet.cc
40  tools/Mesh.cc
41  tools/ParticleInterface.cc
42  tools/TextureGenerator.cc
43  tools/Timer.cc
44  tools/WindowEventListener.cc
45
46  objects/EventListener.cc
47  objects/EventDispatcher.cc
48  objects/EventTarget.cc
49  objects/Radar.cc
50  objects/RadarListener.cc
51  objects/RadarViewable.cc
52  objects/Tickable.cc
53  objects/Test.cc
54  objects/Script.cc
55
56  objects/Level.cc
57  objects/Scene.cc
58  objects/worldentities/WorldEntity.cc
59  objects/worldentities/PositionableEntity.cc
60  objects/worldentities/MovableEntity.cc
61  objects/worldentities/ControllableEntity.cc
62  objects/worldentities/Model.cc
63  objects/worldentities/Billboard.cc
64  objects/worldentities/BlinkingBillboard.cc
65  objects/worldentities/Light.cc
66  objects/worldentities/Camera.cc
67  objects/worldentities/CameraPosition.cc
68  objects/worldentities/SpawnPoint.cc
69  objects/worldentities/ParticleEmitter.cc
70  objects/worldentities/ParticleSpawner.cc
71#  objects/worldentities/Backlight.cc
72
73  objects/worldentities/triggers/Trigger.cc
74  objects/worldentities/triggers/DistanceTrigger.cc
75  objects/worldentities/triggers/EventTrigger.cc
76
77  objects/worldentities/pawns/Spectator.cc
78  objects/worldentities/pawns/Pawn.cc
79  objects/worldentities/pawns/SpaceShip.cc
80
81  objects/controllers/Controller.cc
82  objects/controllers/HumanController.cc
83
84  objects/infos/Info.cc
85  objects/infos/PlayerInfo.cc
86  objects/infos/HumanPlayer.cc
87
88  objects/gametypes/Gametype.cc
89
90  tolua/tolua_bind.cc
91)
92
93GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
94ADD_CUSTOM_COMMAND(
95  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
96  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
97  DEPENDS
98    tolua_orxonox
99    tolua/tolua.pkg
100    gui/GUIManager.h
101  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
102)
103
104
105ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
106
107IF(NETWORKTRAFFIC_TESTING_ENABLED)
108
109  SET( ORXONOXS_SRC_FILES
110    GraphicsEngine.cc
111    objects/Camera.cc
112    CameraManager.cc
113  )
114
115  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
116ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
117
118TARGET_LINK_LIBRARIES( orxonox
119  ${OGRE_LIBRARIES}
120  ${CEGUI_LIBRARIES}
121  lua_orxonox
122  ceguilua_orxonox
123  tinyxml_orxonox
124  tolualib_orxonox
125  util
126  core
127  audio
128  network
129)
130
Note: See TracBrowser for help on using the repository browser.