source:
code/branches/FICN/src/orxonox/CMakeLists.txt
@
575
Last change on this file since 575 was 555, checked in by landauf, 17 years ago | |
---|---|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[341] | 1 | PROJECT(Orxonox) |
2 | ||
[376] | 3 | ADD_SUBDIRECTORY(core) |
4 | ADD_SUBDIRECTORY(hud) | |
[547] | 5 | IF(NOT WIN32) |
6 | ADD_SUBDIRECTORY(objects) | |
7 | ENDIF(NOT WIN32) | |
[376] | 8 | ADD_SUBDIRECTORY(weapon) |
[535] | 9 | ADD_SUBDIRECTORY(particle) |
[376] | 10 | |
11 | ||
[341] | 12 | SET( 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] | 23 | IF(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 |
[547] | 37 | ) |
38 | ELSE(WIN32) | |
39 | SET(LINK_OBJECTS_LIBRARY objects) | |
40 | ENDIF(WIN32) | |
[482] | 41 | |
[555] | 42 | IF(WIN32) |
43 | ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) | |
44 | ELSE(WIN32) | |
45 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) | |
46 | ENDIF(WIN32) | |
[341] | 47 | |
[547] | 48 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
49 | ||
[358] | 50 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
[341] | 51 | |
[462] | 52 | TARGET_LINK_LIBRARIES( ../../bin/main |
[376] | 53 | ${OGRE_LIBRARIES} |
54 | ${OIS_LIBRARIES} | |
55 | loader | |
[389] | 56 | audio |
[376] | 57 | network |
58 | core | |
59 | hud | |
[547] | 60 | ${LINK_OBJECTS_LIBRARY} |
[376] | 61 | weapon |
[480] | 62 | xml |
[535] | 63 | particle |
[341] | 64 | ) |
[389] | 65 |
Note: See TracBrowser
for help on using the repository browser.