Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/script_trigger/src/orxonox/CMakeLists.txt @ 1951

Last change on this file since 1951 was 1693, checked in by bknecht, 16 years ago

Trigger delay queue is working, DistanceTrigger can be added to level and reacts… cool stuff

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  particle/ParticleInterface.cc
9  tolua/tolua_bind.cc
10
11  tools/BillboardSet.cc
12  tools/Light.cc
13  tools/Mesh.cc
14  tools/Timer.cc
15
16  objects/Ambient.cc
17  objects/Camera.cc
18  objects/CameraHandler.cc
19  objects/Explosion.cc
20  objects/Model.cc
21  objects/NPC.cc
22  objects/Projectile.cc
23  objects/Skybox.cc
24  objects/SpaceShip.cc
25  objects/WorldEntity.cc
26  objects/Script.cc
27  objects/Trigger.cc
28  objects/DistanceTrigger.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.