Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 598 was 594, checked in by rgrieder, 17 years ago

-finally removed my old framework stuff and with it the weapon system files

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  spaceship_steering.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  )
35ELSE(WIN32)
36  SET(LINK_OBJECTS_LIBRARY objects)
37ENDIF(WIN32)
38
39IF(WIN32)
40#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
41ELSE(WIN32)
42  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
43ENDIF(WIN32)
44
45ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
46
47SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
48
49TARGET_LINK_LIBRARIES( ../../bin/main
50  ${OGRE_LIBRARIES}
51  ${OIS_LIBRARIES}
52  loader
53  audio
54  network
55  core
56  hud
57  ${LINK_OBJECTS_LIBRARY}
58  xml
59  particle
60)
61
Note: See TracBrowser for help on using the repository browser.