source:
code/branches/FICN/src/orxonox/CMakeLists.txt
@
610
Last change on this file since 610 was 608, 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) | |
[535] | 8 | ADD_SUBDIRECTORY(particle) |
[376] | 9 | |
10 | ||
[341] | 11 | SET( ORXONOX_SRC_FILES |
[376] | 12 | orxonox.cc |
13 | spaceship_steering.cc | |
[462] | 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 | |
[547] | 36 | ) |
37 | ELSE(WIN32) | |
38 | SET(LINK_OBJECTS_LIBRARY objects) | |
39 | ENDIF(WIN32) | |
[482] | 40 | |
[555] | 41 | IF(WIN32) |
[576] | 42 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
[555] | 43 | ELSE(WIN32) |
44 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) | |
45 | ENDIF(WIN32) | |
[341] | 46 | |
[547] | 47 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
48 | ||
[358] | 49 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
[341] | 50 | |
[462] | 51 | TARGET_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.