Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hud/src/orxonox/CMakeLists.txt @ 1618

Last change on this file since 1618 was 1617, checked in by rgrieder, 16 years ago
  • some more fixes..
  • Property svn:eol-style set to native
File size: 2.1 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/hud/HUDBar.cc
17  overlays/hud/HUDFPSText.cc
18  overlays/hud/HUDNavigation.cc
19  overlays/hud/HUDRadar.cc
20  overlays/hud/HUDRTRText.cc
21  overlays/hud/HUDSpeedBar.cc
22
23  tolua/tolua_bind.cc
24
25  tools/BillboardSet.cc
26  tools/Light.cc
27  tools/Mesh.cc
28  tools/ParticleInterface.cc
29  tools/TextureGenerator.cc
30  tools/Timer.cc
31  tools/WindowEventListener.cc
32
33  objects/Ambient.cc
34  objects/Camera.cc
35  objects/CameraHandler.cc
36  objects/Model.cc
37  objects/NPC.cc
38  objects/ParticleSpawner.cc
39  objects/Skybox.cc
40  objects/SpaceShip.cc
41  objects/SpaceShipAI.cc
42  objects/Tickable.cc
43  objects/WorldEntity.cc
44
45  objects/Projectile.cc
46  objects/BillboardProjectile.cc
47  objects/RotatingProjectile.cc
48  objects/ParticleProjectile.cc
49
50#  objects/weapon/AmmunitionDump.cc
51#  objects/weapon/BarrelGun.cc
52#  objects/weapon/BaseWeapon.cc
53#  objects/weapon/Bullet.cc
54#  objects/weapon/BulletManager.cc
55#  objects/weapon/WeaponStation.cc
56)
57
58GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
59ADD_CUSTOM_COMMAND(
60  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
61  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
62  DEPENDS tolua
63  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
64)
65       
66ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
67
68IF(NETWORKTRAFFIC_TESTING_ENABLED)
69
70  SET( ORXONOXS_SRC_FILES
71    GraphicsEngine.cc
72    objects/Ambient.cc
73    objects/Camera.cc
74    objects/CameraHandler.cc
75    objects/Explosion.cc
76    objects/Model.cc
77    objects/NPC.cc
78    objects/Projectile.cc
79    objects/Skybox.cc
80    objects/SpaceShip.cc
81    objects/WorldEntity.cc
82  )
83
84  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
85ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
86
87TARGET_LINK_LIBRARIES( orxonox
88  ${OGRE_LIBRARIES}
89  ${Lua_LIBRARIES}
90  tinyxml
91  tolualib
92  ois_orxonox
93  util
94  core
95  audio
96  network
97)
98
Note: See TracBrowser for help on using the repository browser.