Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 631 was 612, checked in by rgrieder, 17 years ago
  • restored filename consistency for src/orxonox
File size: 1.2 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/SceneNode.cc
28    objects/Entity.cc
29    objects/Camera.cc
[608]30#    objects/SpaceshipSteeringObject.cc
[555]31    objects/Model.cc
[576]32    objects/Mesh.cc
33    objects/BaseEntity.cc
[608]34    objects/SpaceShip.cc
35    objects/NPC.cc
[547]36  )
37ELSE(WIN32)
38  SET(LINK_OBJECTS_LIBRARY objects)
39ENDIF(WIN32)
[482]40
[555]41IF(WIN32)
[576]42#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
[555]43ELSE(WIN32)
44  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
45ENDIF(WIN32)
[341]46
[547]47ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
48
[358]49SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
[341]50
[462]51TARGET_LINK_LIBRARIES( ../../bin/main
[376]52  ${OGRE_LIBRARIES}
53  ${OIS_LIBRARIES}
54  loader
[389]55  audio
[376]56  network
57  core
58  hud
[547]59  ${LINK_OBJECTS_LIBRARY}
[480]60  xml
[535]61  particle
[341]62)
[389]63
Note: See TracBrowser for help on using the repository browser.