Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 637 was 633, checked in by landauf, 17 years ago

added blinkies :D

File size: 1.3 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/SceneNode.cc
28    objects/Entity.cc
29    objects/Camera.cc
30#    objects/SpaceshipSteeringObject.cc
31    objects/Model.cc
32    objects/Mesh.cc
33    objects/BaseEntity.cc
34    objects/SpaceShip.cc
35    objects/NPC.cc
36    objects/BillboardSet.cc
37    objects/Light.cc
38  )
39ELSE(WIN32)
40  SET(LINK_OBJECTS_LIBRARY objects)
41ENDIF(WIN32)
42
43IF(WIN32)
44#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
45ELSE(WIN32)
46  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
47ENDIF(WIN32)
48
49ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
50
51SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
52
53TARGET_LINK_LIBRARIES( ../../bin/main
54  ${OGRE_LIBRARIES}
55  ${OIS_LIBRARIES}
56  loader
57  audio
58  network
59  core
60  hud
61  ${LINK_OBJECTS_LIBRARY}
62  xml
63  particle
64)
65
Note: See TracBrowser for help on using the repository browser.