Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 616 was 612, checked in by rgrieder, 17 years ago
  • restored filename consistency for src/orxonox
File size: 1.2 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  )
37ELSE(WIN32)
38  SET(LINK_OBJECTS_LIBRARY objects)
39ENDIF(WIN32)
40
41IF(WIN32)
42#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
43ELSE(WIN32)
44  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
45ENDIF(WIN32)
46
47ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
48
49SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
50
51TARGET_LINK_LIBRARIES( ../../bin/main
52  ${OGRE_LIBRARIES}
53  ${OIS_LIBRARIES}
54  loader
55  audio
56  network
57  core
58  hud
59  ${LINK_OBJECTS_LIBRARY}
60  xml
61  particle
62)
63
Note: See TracBrowser for help on using the repository browser.