Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/merge/src/orxonox/CMakeLists.txt @ 1278

Last change on this file since 1278 was 1278, checked in by scheusso, 17 years ago

new dummy[server,client]4; adapted connectionmanager to new boost::thread syntax

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