Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/overlay/src/orxonox/CMakeLists.txt @ 2152

Last change on this file since 2152 was 2152, checked in by bhildebr, 15 years ago

CMakeLists.txt updated, background added

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