Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1170 was 1153, checked in by rgrieder, 17 years ago
  • merged cmake branch back to trunk (the last one, hopefully ;))
  • added Oli's lua library name (liblua.so)
File size: 1.5 KB
RevLine 
[1052]1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
5#  SpaceshipSteering.cc
6  hud/HUD.cc
7  particle/ParticleInterface.cc
8  tools/BillboardSet.cc
9  tools/Light.cc
10  tools/Mesh.cc
11  tools/Timer.cc
12  objects/Ambient.cc
13  objects/Camera.cc
14  objects/Explosion.cc
15#  objects/Fighter.cc
16  objects/Model.cc
17  objects/NPC.cc
18  objects/Projectile.cc
19  objects/Skybox.cc
20  objects/SpaceShip.cc
21#  objects/SpaceshipSteeringObject.cc
22#  objects/test1.cc
23#  objects/test2.cc
24#  objects/test3.cc
25  objects/WorldEntity.cc
26#  objects/weapon/AmmunitionDump.cc
27#  objects/weapon/BarrelGun.cc
28#  objects/weapon/BaseWeapon.cc
29#  objects/weapon/Bullet.cc
30#  objects/weapon/BulletManager.cc
31#  objects/weapon/WeaponStation.cc
[1153]32  tolua/tolua_bind.cc
33#  tolua/tolua_bind.h
[1052]34)
35
[1153]36#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
37#  PROPERTIES
38#  OBJECT_DEPENDS tolua/tolua_bind.h
39#  OBJECT_DEPENDS tolua/tolua_bind.cc
40#  GENERATED true
41#  HEADER_FILE_ONLY true
42#)
43
44GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
45ADD_CUSTOM_COMMAND(
46  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
47  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
48  DEPENDS tolua
49  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
50)
51       
[1052]52ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
53
54TARGET_LINK_LIBRARIES( orxonox
55  ${OGRE_LIBRARIES}
56  ${Lua_LIBRARIES}
57  util
58  core
59  audio
60  network
61)
62
Note: See TracBrowser for help on using the repository browser.