Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1220 was 1219, checked in by rgrieder, 17 years ago

merged input branch back to trunk. Not yet tested on tardis

File size: 1.5 KB
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
5  console/InGameConsole.cc
6#  SpaceshipSteering.cc
7  hud/HUD.cc
8  particle/ParticleInterface.cc
9  tools/BillboardSet.cc
10  tools/Light.cc
11  tools/Mesh.cc
12  tools/Timer.cc
13  objects/Ambient.cc
14  objects/Camera.cc
15  objects/Explosion.cc
16#  objects/Fighter.cc
17  objects/Model.cc
18  objects/NPC.cc
19  objects/Projectile.cc
20  objects/Skybox.cc
21  objects/SpaceShip.cc
22#  objects/SpaceshipSteeringObject.cc
23#  objects/test1.cc
24#  objects/test2.cc
25#  objects/test3.cc
26  objects/WorldEntity.cc
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  tolua/tolua_bind.cc
34#  tolua/tolua_bind.h
35)
36
37#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
38#  PROPERTIES
39#  OBJECT_DEPENDS tolua/tolua_bind.h
40#  OBJECT_DEPENDS tolua/tolua_bind.cc
41#  GENERATED true
42#  HEADER_FILE_ONLY true
43#)
44
45GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
46ADD_CUSTOM_COMMAND(
47  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
48  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
49  DEPENDS tolua
50  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
51)
52       
53ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
54
55TARGET_LINK_LIBRARIES( orxonox
56  ${OGRE_LIBRARIES}
57  ${Lua_LIBRARIES}
58  tinyxml
59  tolualib
60  ois
61  util
62  core
63  audio
64  network
65)
66
Note: See TracBrowser for help on using the repository browser.