Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network/src/orxonox/CMakeLists.txt @ 1459

Last change on this file since 1459 was 1406, checked in by rgrieder, 17 years ago
  • merged Felix's changes from trunk to network branch
  • added "svn:eol-style native" property to keybindings.ini
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  hud/RadarObject.cc
11  hud/Navigation.cc
12  particle/ParticleInterface.cc
13  tolua/tolua_bind.cc
14
15  tools/BillboardSet.cc
16  tools/Light.cc
17  tools/Mesh.cc
18  tools/Timer.cc
19
20  objects/Ambient.cc
21  objects/Camera.cc
22  objects/CameraHandler.cc
23  objects/Explosion.cc
24  objects/Model.cc
25  objects/NPC.cc
26  objects/Projectile.cc
27  objects/Skybox.cc
28  objects/SpaceShip.cc
29  objects/WorldEntity.cc
30
31#  objects/weapon/AmmunitionDump.cc
32#  objects/weapon/BarrelGun.cc
33#  objects/weapon/BaseWeapon.cc
34#  objects/weapon/Bullet.cc
35#  objects/weapon/BulletManager.cc
36#  objects/weapon/WeaponStation.cc
37)
38
39GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
40ADD_CUSTOM_COMMAND(
41  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
42  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
43  DEPENDS tolua
44  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
45)
46       
47ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
48
49IF(NETWORKTRAFFIC_TESTING_ENABLED)
50
51  SET( ORXONOXS_SRC_FILES
52    GraphicsEngine.cc
53    objects/Ambient.cc
54    objects/Camera.cc
55    objects/CameraHandler.cc
56    objects/Explosion.cc
57    objects/Model.cc
58    objects/NPC.cc
59    objects/Projectile.cc
60    objects/Skybox.cc
61    objects/SpaceShip.cc
62    objects/WorldEntity.cc
63  )
64
65  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
66ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
67
68TARGET_LINK_LIBRARIES( orxonox
69  ${OGRE_LIBRARIES}
70  ${Lua_LIBRARIES}
71  tinyxml
72  tolualib
73  ois
74  util
75  core
76  audio
77  network
78)
79
Note: See TracBrowser for help on using the repository browser.