Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/questsystem/src/orxonox/CMakeLists.txt @ 2144

Last change on this file since 2144 was 2043, checked in by dafrick, 16 years ago

Some minor adjustements, just comitting to be on the safe side.

  • Property svn:eol-style set to native
File size: 2.8 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/Ambient.cc
45  objects/Backlight.cc
46  objects/Camera.cc
47  objects/CameraHandler.cc
48  objects/Model.cc
49  objects/NPC.cc
50  objects/ParticleSpawner.cc
51  objects/Radar.cc
52  objects/RadarListener.cc
53  objects/RadarViewable.cc
54  objects/Skybox.cc
55  objects/SpaceShip.cc
56  objects/SpaceShipAI.cc
57  objects/Tickable.cc
58  objects/WorldEntity.cc
59
60  objects/Projectile.cc
61  objects/BillboardProjectile.cc
62  objects/RotatingProjectile.cc
63  objects/ParticleProjectile.cc
64 
65  objects/AddQuest.cc
66  objects/AddQuestHint.cc
67  objects/AddReward.cc
68  objects/ChangeQuestStatus.cc
69  objects/CompleteQuest.cc
70  objects/FailQuest.cc
71  objects/GlobalQuest.cc
72  objects/LocalQuest.cc
73  objects/Quest.cc
74  objects/QuestDescription.cc
75  objects/QuestEffect.cc
76  objects/QuestHint.cc
77  objects/QuestItem.cc
78  objects/QuestManager.cc
79  objects/Rewardable.cc
80
81  tolua/tolua_bind.cc
82)
83
84GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
85ADD_CUSTOM_COMMAND(
86  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
87  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
88  DEPENDS
89    tolua_orxonox
90    tolua/tolua.pkg
91    gui/GUIManager.h
92  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
93)
94       
95ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
96
97IF(NETWORKTRAFFIC_TESTING_ENABLED)
98
99  SET( ORXONOXS_SRC_FILES
100    GraphicsEngine.cc
101    objects/Ambient.cc
102    objects/Camera.cc
103    objects/CameraHandler.cc
104    objects/Explosion.cc
105    objects/Model.cc
106    objects/NPC.cc
107    objects/Projectile.cc
108    objects/Skybox.cc
109    objects/SpaceShip.cc
110    objects/WorldEntity.cc
111  )
112
113  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
114ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
115
116TARGET_LINK_LIBRARIES( orxonox
117  ${OGRE_LIBRARIES}
118  ${CEGUI_LIBRARIES}
119  lua_orxonox
120  ceguilua_orxonox
121  tinyxml_orxonox
122  tolualib_orxonox
123  util
124  core
125  audio
126  network
127)
128
Note: See TracBrowser for help on using the repository browser.