Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/CMakeLists.txt @ 691

Last change on this file since 691 was 676, checked in by landauf, 17 years ago
  • include guards
  • readded Light (maybe i'll remove it again, but at the moment i want it to stay)
File size: 1.5 KB
RevLine 
[341]1PROJECT(Orxonox)
2
[376]3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
[547]5IF(NOT WIN32)
6  ADD_SUBDIRECTORY(objects)
7ENDIF(NOT WIN32)
[535]8ADD_SUBDIRECTORY(particle)
[376]9
10
[341]11SET( ORXONOX_SRC_FILES
[612]12  Orxonox.cc
13  SpaceshipSteering.cc
14  Main.cc
15  GraphicsEngine.cc
[341]16)
17
[547]18IF(WIN32)
19  SET( OBJECTS_SRC_FILES
20    objects/BaseObject.cc
21    objects/WorldEntity.cc
22    objects/test1.cc
23    objects/test2.cc
24    objects/test3.cc
25    objects/Ambient.cc
26    objects/Skybox.cc
27    objects/Camera.cc
[608]28#    objects/SpaceshipSteeringObject.cc
[555]29    objects/Model.cc
[576]30    objects/Mesh.cc
[676]31    objects/Light.cc
[608]32    objects/SpaceShip.cc
33    objects/NPC.cc
[633]34    objects/BillboardSet.cc
[643]35    objects/Projectile.cc
[669]36    objects/weapon_system/AmmunitionDump.cc
37    objects/weapon_system/BarrelGun.cc
[671]38    objects/weapon_system/BaseWeapon.cc
[669]39    objects/weapon_system/Bullet.cc
40    objects/weapon_system/BulletManager.cc
41    objects/weapon_system/WeaponStation.cc
[646]42    objects/Explosion.cc
[547]43  )
44ELSE(WIN32)
45  SET(LINK_OBJECTS_LIBRARY objects)
46ENDIF(WIN32)
[482]47
[555]48IF(WIN32)
[576]49#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
[555]50ELSE(WIN32)
51  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
52ENDIF(WIN32)
[341]53
[547]54ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
55
[358]56SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
[341]57
[462]58TARGET_LINK_LIBRARIES( ../../bin/main
[376]59  ${OGRE_LIBRARIES}
60  ${OIS_LIBRARIES}
61  loader
[389]62  audio
[376]63  network
64  core
65  hud
[547]66  ${LINK_OBJECTS_LIBRARY}
[480]67  xml
[535]68  particle
[341]69)
[389]70
Note: See TracBrowser for help on using the repository browser.