Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 724 was 718, checked in by landauf, 17 years ago

added Fighter.cc to CML

File size: 1.5 KB
Line 
1PROJECT(Orxonox)
2
3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
5IF(NOT WIN32)
6  ADD_SUBDIRECTORY(objects)
7ENDIF(NOT WIN32)
8ADD_SUBDIRECTORY(particle)
9
10
11SET( ORXONOX_SRC_FILES
12  Orxonox.cc
13  SpaceshipSteering.cc
14  Main.cc
15  GraphicsEngine.cc
16)
17
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
28#    objects/SpaceshipSteeringObject.cc
29    objects/Fighter.cc
30    objects/Model.cc
31    objects/Mesh.cc
32    objects/Light.cc
33    objects/SpaceShip.cc
34    objects/NPC.cc
35    objects/BillboardSet.cc
36    objects/Projectile.cc
37    objects/weapon_system/AmmunitionDump.cc
38    objects/weapon_system/BarrelGun.cc
39    objects/weapon_system/BaseWeapon.cc
40    objects/weapon_system/Bullet.cc
41    objects/weapon_system/BulletManager.cc
42    objects/weapon_system/WeaponStation.cc
43    objects/Explosion.cc
44  )
45ELSE(WIN32)
46  SET(LINK_OBJECTS_LIBRARY objects)
47ENDIF(WIN32)
48
49IF(WIN32)
50#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
51ELSE(WIN32)
52  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
53ENDIF(WIN32)
54
55ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
56
57SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
58
59TARGET_LINK_LIBRARIES( ../../bin/main
60  ${OGRE_LIBRARIES}
61  ${OIS_LIBRARIES}
62  loader
63  audio
64  network
65  core
66  hud
67  ${LINK_OBJECTS_LIBRARY}
68  xml
69  particle
70)
71
Note: See TracBrowser for help on using the repository browser.