Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 583 was 576, checked in by landauf, 17 years ago

added Mesh and Model (doesn't work yet, but i don't want to have merge conflicts all the time :P)

File size: 1.3 KB
RevLine 
[341]1PROJECT(Orxonox)
2
[376]3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
[547]5IF(NOT WIN32)
6  ADD_SUBDIRECTORY(objects)
7ENDIF(NOT WIN32)
[376]8ADD_SUBDIRECTORY(weapon)
[535]9ADD_SUBDIRECTORY(particle)
[376]10
11
[341]12SET( ORXONOX_SRC_FILES
[376]13  orxonox.cc
14  orxonox_scene.cc
15  orxonox_ship.cc
16  run_manager.cc
17  spaceship_steering.cc
[364]18  inertial_node.cc
[462]19  main.cc
20  graphicsEngine.cc
[341]21)
22
[547]23IF(WIN32)
24  SET( OBJECTS_SRC_FILES
25    objects/BaseObject.cc
26    objects/WorldEntity.cc
27    objects/test1.cc
28    objects/test2.cc
29    objects/test3.cc
30    objects/Ambient.cc
31    objects/Skybox.cc
32    objects/SceneNode.cc
33    objects/Entity.cc
34    objects/Camera.cc
35    objects/SpaceshipSteeringObject.cc
[555]36    objects/Model.cc
[576]37    objects/Mesh.cc
38    objects/BaseEntity.cc
[547]39  )
40ELSE(WIN32)
41  SET(LINK_OBJECTS_LIBRARY objects)
42ENDIF(WIN32)
[482]43
[555]44IF(WIN32)
[576]45#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
[555]46ELSE(WIN32)
47  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
48ENDIF(WIN32)
[341]49
[547]50ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
51
[358]52SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
[341]53
[462]54TARGET_LINK_LIBRARIES( ../../bin/main
[376]55  ${OGRE_LIBRARIES}
56  ${OIS_LIBRARIES}
57  loader
[389]58  audio
[376]59  network
60  core
61  hud
[547]62  ${LINK_OBJECTS_LIBRARY}
[376]63  weapon
[480]64  xml
[535]65  particle
[341]66)
[389]67
Note: See TracBrowser for help on using the repository browser.