Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weapon/src/orxonox/CMakeLists.txt @ 2112

Last change on this file since 2112 was 2049, checked in by polakma, 16 years ago

Objekte erstellt.

  • Property svn:eol-style set to native
File size: 2.6 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/WeaponSystem.cc
66  objects/weaponSystem/WeaponSet.cc
67  objects/weaponSystem/WeaponSlot.cc
68  objects/weaponSystem/Weapon.cc
69  objects/weaponSystem/Munition.cc
70
71
72  tolua/tolua_bind.cc
73)
74
75GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
76ADD_CUSTOM_COMMAND(
77  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
78  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
79  DEPENDS
80    tolua_orxonox
81    tolua/tolua.pkg
82    gui/GUIManager.h
83  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
84)
85       
86ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
87
88IF(NETWORKTRAFFIC_TESTING_ENABLED)
89
90  SET( ORXONOXS_SRC_FILES
91    GraphicsEngine.cc
92    objects/Ambient.cc
93    objects/Camera.cc
94    objects/CameraHandler.cc
95    objects/Explosion.cc
96    objects/Model.cc
97    objects/NPC.cc
98    objects/Projectile.cc
99    objects/Skybox.cc
100    objects/SpaceShip.cc
101    objects/WorldEntity.cc
102  )
103
104  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
105ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
106
107TARGET_LINK_LIBRARIES( orxonox
108  ${OGRE_LIBRARIES}
109  ${CEGUI_LIBRARIES}
110  lua_orxonox
111  ceguilua_orxonox
112  tinyxml_orxonox
113  tolualib_orxonox
114  util
115  core
116  audio
117  network
118)
119
Note: See TracBrowser for help on using the repository browser.