Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/CMakeLists.txt @ 1704

Last change on this file since 1704 was 1625, checked in by rgrieder, 16 years ago

merged hud branch back to trunk

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
5  Radar.cc
6  RadarListener.cc
7  RadarViewable.cc
8  Settings.cc
9
10  overlays/OrxonoxOverlay.cc
11  overlays/OverlayGroup.cc
12  overlays/OverlayText.cc
13
14  overlays/console/InGameConsole.cc
15
16  overlays/debug/DebugFPSText.cc
17  overlays/debug/DebugRTRText.cc
18
19  overlays/hud/HUDBar.cc
20  overlays/hud/HUDNavigation.cc
21  overlays/hud/HUDRadar.cc
22  overlays/hud/HUDSpeedBar.cc
23
24  tolua/tolua_bind.cc
25
26  tools/BillboardSet.cc
27  tools/Light.cc
28  tools/Mesh.cc
29  tools/ParticleInterface.cc
30  tools/TextureGenerator.cc
31  tools/Timer.cc
32  tools/WindowEventListener.cc
33
34  objects/Ambient.cc
35  objects/Backlight.cc
36  objects/Camera.cc
37  objects/CameraHandler.cc
38  objects/Model.cc
39  objects/NPC.cc
40  objects/ParticleSpawner.cc
41  objects/Skybox.cc
42  objects/SpaceShip.cc
43  objects/SpaceShipAI.cc
44  objects/Tickable.cc
45  objects/WorldEntity.cc
46
47  objects/Projectile.cc
48  objects/BillboardProjectile.cc
49  objects/RotatingProjectile.cc
50  objects/ParticleProjectile.cc
51)
52
53GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
54ADD_CUSTOM_COMMAND(
55  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
56  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
57  DEPENDS tolua
58  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
59)
60       
61ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
62
63IF(NETWORKTRAFFIC_TESTING_ENABLED)
64
65  SET( ORXONOXS_SRC_FILES
66    GraphicsEngine.cc
67    objects/Ambient.cc
68    objects/Camera.cc
69    objects/CameraHandler.cc
70    objects/Explosion.cc
71    objects/Model.cc
72    objects/NPC.cc
73    objects/Projectile.cc
74    objects/Skybox.cc
75    objects/SpaceShip.cc
76    objects/WorldEntity.cc
77  )
78
79  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
80ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
81
82TARGET_LINK_LIBRARIES( orxonox
83  ${OGRE_LIBRARIES}
84  ${Lua_LIBRARIES}
85  tinyxml
86  tolualib
87  ois_orxonox
88  util
89  core
90  audio
91  network
92)
93
Note: See TracBrowser for help on using the repository browser.