Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1623 was 1383, checked in by bknecht, 17 years ago

crazy stuff!! triggers and the best: you can now use the lua function "include(levelfile)" to include another level file into the level. it's great!!! :D

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
29#  objects/weapon/AmmunitionDump.cc
30#  objects/weapon/BarrelGun.cc
31#  objects/weapon/BaseWeapon.cc
32#  objects/weapon/Bullet.cc
33#  objects/weapon/BulletManager.cc
34#  objects/weapon/WeaponStation.cc
35)
36
37GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
38ADD_CUSTOM_COMMAND(
39  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
40  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
41  DEPENDS tolua
42  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
43)
44
45ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
46
47IF(NETWORKTRAFFIC_TESTING_ENABLED)
48
49  SET( ORXONOXS_SRC_FILES
50    GraphicsEngine.cc
51    objects/Ambient.cc
52    objects/Camera.cc
53    objects/CameraHandler.cc
54    objects/Explosion.cc
55    objects/Model.cc
56    objects/NPC.cc
57    objects/Projectile.cc
58    objects/Skybox.cc
59    objects/SpaceShip.cc
60    objects/WorldEntity.cc
61  )
62
63  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
64ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
65
66TARGET_LINK_LIBRARIES( orxonox
67  ${OGRE_LIBRARIES}
68  ${Lua_LIBRARIES}
69  tinyxml
70  tolualib
71  ois
72  util
73  core
74  audio
75  network
76)
77
Note: See TracBrowser for help on using the repository browser.