Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1418 was 1407, checked in by rgrieder, 16 years ago
  • reverted the HUD changes to ease up back merge from network branch

@everyone: please commit to the network branch from now on if it concerns the presentation.
Oli has also created a folder for the presentation files.
@fabian: you are excluded

File size: 1.7 KB
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
5
6  console/InGameConsole.cc
7  hud/HUD.cc
8  hud/BarOverlayElement.cc
9  hud/RadarOverlayElement.cc
10  hud/RadarObject.cc
11  particle/ParticleInterface.cc
12  tolua/tolua_bind.cc
13
14  tools/BillboardSet.cc
15  tools/Light.cc
16  tools/Mesh.cc
17  tools/Timer.cc
18
19  objects/Ambient.cc
20  objects/Camera.cc
21  objects/CameraHandler.cc
22  objects/Explosion.cc
23  objects/Model.cc
24  objects/NPC.cc
25  objects/Projectile.cc
26  objects/Skybox.cc
27  objects/SpaceShip.cc
28  objects/WorldEntity.cc
29
30#  objects/weapon/AmmunitionDump.cc
31#  objects/weapon/BarrelGun.cc
32#  objects/weapon/BaseWeapon.cc
33#  objects/weapon/Bullet.cc
34#  objects/weapon/BulletManager.cc
35#  objects/weapon/WeaponStation.cc
36)
37
38GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
39ADD_CUSTOM_COMMAND(
40  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
41  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
42  DEPENDS tolua
43  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
44)
45       
46ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
47
48IF(NETWORKTRAFFIC_TESTING_ENABLED)
49
50  SET( ORXONOXS_SRC_FILES
51    GraphicsEngine.cc
52    objects/Ambient.cc
53    objects/Camera.cc
54    objects/CameraHandler.cc
55    objects/Explosion.cc
56    objects/Model.cc
57    objects/NPC.cc
58    objects/Projectile.cc
59    objects/Skybox.cc
60    objects/SpaceShip.cc
61    objects/WorldEntity.cc
62  )
63
64  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
65ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
66
67TARGET_LINK_LIBRARIES( orxonox
68  ${OGRE_LIBRARIES}
69  ${Lua_LIBRARIES}
70  tinyxml
71  tolualib
72  ois
73  util
74  core
75  audio
76  network
77)
78
Note: See TracBrowser for help on using the repository browser.