source:
code/branches/FICN/src/orxonox/CMakeLists.txt
@
637
Last change on this file since 637 was 633, checked in by landauf, 17 years ago | |
---|---|
File size: 1.3 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) | |
[535] | 8 | ADD_SUBDIRECTORY(particle) |
[376] | 9 | |
10 | ||
[341] | 11 | SET( ORXONOX_SRC_FILES |
[612] | 12 | Orxonox.cc |
13 | SpaceshipSteering.cc | |
14 | Main.cc | |
15 | GraphicsEngine.cc | |
[341] | 16 | ) |
17 | ||
[547] | 18 | IF(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 | |
[633] | 36 | objects/BillboardSet.cc |
37 | objects/Light.cc | |
[547] | 38 | ) |
39 | ELSE(WIN32) | |
40 | SET(LINK_OBJECTS_LIBRARY objects) | |
41 | ENDIF(WIN32) | |
[482] | 42 | |
[555] | 43 | IF(WIN32) |
[576] | 44 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
[555] | 45 | ELSE(WIN32) |
46 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) | |
47 | ENDIF(WIN32) | |
[341] | 48 | |
[547] | 49 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
50 | ||
[358] | 51 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
[341] | 52 | |
[462] | 53 | TARGET_LINK_LIBRARIES( ../../bin/main |
[376] | 54 | ${OGRE_LIBRARIES} |
55 | ${OIS_LIBRARIES} | |
56 | loader | |
[389] | 57 | audio |
[376] | 58 | network |
59 | core | |
60 | hud | |
[547] | 61 | ${LINK_OBJECTS_LIBRARY} |
[480] | 62 | xml |
[535] | 63 | particle |
[341] | 64 | ) |
[389] | 65 |
Note: See TracBrowser
for help on using the repository browser.