Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1615 was 1615, checked in by rgrieder, 16 years ago
  • added blankString to String so you can return ""; even if it's a const std::string&
  • fixed several bugs with aspect correct and margin alignment
  • added console commands for OrxonoxOverlays and OverlayGroups for rotate, scale and scroll (you can access the by name (from name=.. in xml file), e.g. "OrxonoxOverlay rotateOverlay SpeedBar 90)
  • converted everything in overlays/ to 4 spaces/tab ;)
  • removed all using namespace Ogre;
  • added background_ Panel to OrxonoxOverlay, since most of the derived classes can use that
  • should work now, but I'll have to test on a tardis box first
  • Property svn:eol-style set to native
File size: 2.0 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/Timer.cc
30  tools/WindowEventListener.cc
31
32  objects/Ambient.cc
33  objects/Camera.cc
34  objects/CameraHandler.cc
35  objects/Model.cc
36  objects/NPC.cc
37  objects/ParticleSpawner.cc
38  objects/Skybox.cc
39  objects/SpaceShip.cc
40  objects/SpaceShipAI.cc
41  objects/Tickable.cc
42  objects/WorldEntity.cc
43
44  objects/Projectile.cc
45  objects/BillboardProjectile.cc
46  objects/RotatingProjectile.cc
47  objects/ParticleProjectile.cc
48
49#  objects/weapon/AmmunitionDump.cc
50#  objects/weapon/BarrelGun.cc
51#  objects/weapon/BaseWeapon.cc
52#  objects/weapon/Bullet.cc
53#  objects/weapon/BulletManager.cc
54#  objects/weapon/WeaponStation.cc
55)
56
57GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
58ADD_CUSTOM_COMMAND(
59  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
60  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
61  DEPENDS tolua
62  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
63)
64       
65ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
66
67IF(NETWORKTRAFFIC_TESTING_ENABLED)
68
69  SET( ORXONOXS_SRC_FILES
70    GraphicsEngine.cc
71    objects/Ambient.cc
72    objects/Camera.cc
73    objects/CameraHandler.cc
74    objects/Explosion.cc
75    objects/Model.cc
76    objects/NPC.cc
77    objects/Projectile.cc
78    objects/Skybox.cc
79    objects/SpaceShip.cc
80    objects/WorldEntity.cc
81  )
82
83  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
84ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
85
86TARGET_LINK_LIBRARIES( orxonox
87  ${OGRE_LIBRARIES}
88  ${Lua_LIBRARIES}
89  tinyxml
90  tolualib
91  ois_orxonox
92  util
93  core
94  audio
95  network
96)
97
Note: See TracBrowser for help on using the repository browser.