Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1995 was 1995, checked in by martisty, 16 years ago

Corrected CMLs in bullet, ogrebullet and global include directories.
Added new test class for OgreBullet.

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