Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics/src/orxonox/CMakeLists.txt @ 1988

Last change on this file since 1988 was 1988, checked in by rgrieder, 11 years ago

Tardis compiles both Bullet and OgreBullet completely. However there are a lot of warnings and I don't feel like correcting them all..

  • 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/PhysicsTest.cc
52  objects/Radar.cc
53  objects/RadarListener.cc
54  objects/RadarViewable.cc
55  objects/Skybox.cc
56  objects/SpaceShip.cc
57  objects/SpaceShipAI.cc
58  objects/Tickable.cc
59  objects/WorldEntity.cc
60
61  objects/Projectile.cc
62  objects/BillboardProjectile.cc
63  objects/RotatingProjectile.cc
64  objects/ParticleProjectile.cc
65
66  tolua/tolua_bind.cc
67)
68
69GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
70ADD_CUSTOM_COMMAND(
71  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
72  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
73  DEPENDS
74    tolua_orxonox
75    tolua/tolua.pkg
76    gui/GUIManager.h
77  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
78)
79       
80ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
81
82IF(NETWORKTRAFFIC_TESTING_ENABLED)
83
84  SET( ORXONOXS_SRC_FILES
85    GraphicsEngine.cc
86    objects/Ambient.cc
87    objects/Camera.cc
88    objects/CameraHandler.cc
89    objects/Explosion.cc
90    objects/Model.cc
91    objects/NPC.cc
92    objects/Projectile.cc
93    objects/Skybox.cc
94    objects/SpaceShip.cc
95    objects/WorldEntity.cc
96  )
97
98  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
99ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
100
101TARGET_LINK_LIBRARIES( orxonox
102  ${OGRE_LIBRARIES}
103  ${CEGUI_LIBRARIES}
104  lua_orxonox
105  ceguilua_orxonox
106  tinyxml_orxonox
107  tolualib_orxonox
108  ogreode_orxonox
109  LibLinearMath
110  LibBulletCollision
111  LibBulletDynamics
112  LibBulletSoftBody
113  ogrebullet_collisions_orxonox
114  ogrebullet_dynamics_orxonox
115  util
116  core
117  audio
118  network
119)
120
Note: See TracBrowser for help on using the repository browser.