Last change
on this file since 616 was
612,
checked in by rgrieder, 17 years ago
|
- restored filename consistency for src/orxonox
|
File size:
1.2 KB
|
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(particle) |
---|
9 | |
---|
10 | |
---|
11 | SET( ORXONOX_SRC_FILES |
---|
12 | Orxonox.cc |
---|
13 | SpaceshipSteering.cc |
---|
14 | Main.cc |
---|
15 | GraphicsEngine.cc |
---|
16 | ) |
---|
17 | |
---|
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 |
---|
30 | # objects/SpaceshipSteeringObject.cc |
---|
31 | objects/Model.cc |
---|
32 | objects/Mesh.cc |
---|
33 | objects/BaseEntity.cc |
---|
34 | objects/SpaceShip.cc |
---|
35 | objects/NPC.cc |
---|
36 | ) |
---|
37 | ELSE(WIN32) |
---|
38 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
39 | ENDIF(WIN32) |
---|
40 | |
---|
41 | IF(WIN32) |
---|
42 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
---|
43 | ELSE(WIN32) |
---|
44 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
45 | ENDIF(WIN32) |
---|
46 | |
---|
47 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
48 | |
---|
49 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
50 | |
---|
51 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
52 | ${OGRE_LIBRARIES} |
---|
53 | ${OIS_LIBRARIES} |
---|
54 | loader |
---|
55 | audio |
---|
56 | network |
---|
57 | core |
---|
58 | hud |
---|
59 | ${LINK_OBJECTS_LIBRARY} |
---|
60 | xml |
---|
61 | particle |
---|
62 | ) |
---|
63 | |
---|
Note: See
TracBrowser
for help on using the repository browser.