Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 753 was 752, checked in by landauf, 17 years ago

(Don't say a word)

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