Line | |
---|
1 | PROJECT(Orxonox) |
---|
2 | |
---|
3 | ADD_SUBDIRECTORY(core) |
---|
4 | ADD_SUBDIRECTORY(hud) |
---|
5 | IF(NOT WIN32) |
---|
6 | ADD_SUBDIRECTORY(objects) |
---|
7 | ENDIF(NOT WIN32) |
---|
8 | ADD_SUBDIRECTORY(weapon) |
---|
9 | ADD_SUBDIRECTORY(particle) |
---|
10 | |
---|
11 | |
---|
12 | SET( ORXONOX_SRC_FILES |
---|
13 | orxonox.cc |
---|
14 | orxonox_scene.cc |
---|
15 | orxonox_ship.cc |
---|
16 | run_manager.cc |
---|
17 | spaceship_steering.cc |
---|
18 | inertial_node.cc |
---|
19 | main.cc |
---|
20 | graphicsEngine.cc |
---|
21 | ) |
---|
22 | |
---|
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 |
---|
36 | ) |
---|
37 | ELSE(WIN32) |
---|
38 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
39 | ENDIF(WIN32) |
---|
40 | |
---|
41 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
42 | |
---|
43 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
44 | |
---|
45 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
46 | |
---|
47 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
48 | ${OGRE_LIBRARIES} |
---|
49 | ${OIS_LIBRARIES} |
---|
50 | loader |
---|
51 | audio |
---|
52 | network |
---|
53 | core |
---|
54 | hud |
---|
55 | ${LINK_OBJECTS_LIBRARY} |
---|
56 | weapon |
---|
57 | xml |
---|
58 | particle |
---|
59 | ) |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.