Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1555 was 1555, checked in by landauf, 16 years ago
  • ParticleInterface uses Orxonox::getTimeFactor to make particle effects independend of gamespeed (but there's still a drawback with thrusters)
  • reduced OIS includes in input-related classes, changed OIS search and include to avoid conflicts with other versions of OIS (for example in Ogre). not yet tested on tardis.
  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
5  Settings.cc
6
7  console/InGameConsole.cc
8  hud/HUD.cc
9  hud/BarOverlayElement.cc
10  hud/RadarOverlayElement.cc
11  hud/RadarObject.cc
12  hud/Navigation.cc
13  tolua/tolua_bind.cc
14
15  tools/BillboardSet.cc
16  tools/Light.cc
17  tools/Mesh.cc
18  tools/ParticleInterface.cc
19  tools/Timer.cc
20
21  objects/Ambient.cc
22  objects/Camera.cc
23  objects/CameraHandler.cc
24  objects/Model.cc
25  objects/NPC.cc
26  objects/ParticleSpawner.cc
27  objects/Skybox.cc
28  objects/SpaceShip.cc
29  objects/SpaceShipAI.cc
30  objects/Tickable.cc
31  objects/WorldEntity.cc
32
33  objects/Projectile.cc
34  objects/BillboardProjectile.cc
35  objects/RotatingProjectile.cc
36  objects/ParticleProjectile.cc
37
38#  objects/weapon/AmmunitionDump.cc
39#  objects/weapon/BarrelGun.cc
40#  objects/weapon/BaseWeapon.cc
41#  objects/weapon/Bullet.cc
42#  objects/weapon/BulletManager.cc
43#  objects/weapon/WeaponStation.cc
44)
45
46GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
47ADD_CUSTOM_COMMAND(
48  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
49  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
50  DEPENDS tolua
51  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
52)
53       
54ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
55
56IF(NETWORKTRAFFIC_TESTING_ENABLED)
57
58  SET( ORXONOXS_SRC_FILES
59    GraphicsEngine.cc
60    objects/Ambient.cc
61    objects/Camera.cc
62    objects/CameraHandler.cc
63    objects/Explosion.cc
64    objects/Model.cc
65    objects/NPC.cc
66    objects/Projectile.cc
67    objects/Skybox.cc
68    objects/SpaceShip.cc
69    objects/WorldEntity.cc
70  )
71
72  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
73ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
74
75TARGET_LINK_LIBRARIES( orxonox
76  ${OGRE_LIBRARIES}
77  ${Lua_LIBRARIES}
78  tinyxml
79  tolualib
80  ois_orxonox
81  util
82  core
83  audio
84  network
85)
86
Note: See TracBrowser for help on using the repository browser.