Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/shader/src/orxonox/CMakeLists.txt @ 2482

Last change on this file since 2482 was 1505, checked in by rgrieder, 16 years ago

f* svn: It doesn't even inform you if you attempt to set a non existing property. It is svn:eol-style and not eol-style when using the command by the way…

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