Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hud3/src/orxonox/CMakeLists.txt @ 1310

Last change on this file since 1310 was 1309, checked in by FelixSchulthess, 17 years ago

removed strange files

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