Last change
on this file since 750 was
748,
checked in by landauf, 17 years ago
|
- moved BillboardSet, Light, Mesh and Timer to the new util folder
- changed CML files (I hope I did it correctly for both operating systems)
|
File size:
1.6 KB
|
Line | |
---|
1 | PROJECT(Orxonox) |
---|
2 | |
---|
3 | ADD_SUBDIRECTORY(core) |
---|
4 | ADD_SUBDIRECTORY(hud) |
---|
5 | IF(NOT WIN32) |
---|
6 | ADD_SUBDIRECTORY(objects) |
---|
7 | ADD_SUBDIRECTORY(tools) |
---|
8 | ENDIF(NOT WIN32) |
---|
9 | ADD_SUBDIRECTORY(particle) |
---|
10 | |
---|
11 | |
---|
12 | SET( ORXONOX_SRC_FILES |
---|
13 | Orxonox.cc |
---|
14 | SpaceshipSteering.cc |
---|
15 | Main.cc |
---|
16 | GraphicsEngine.cc |
---|
17 | ) |
---|
18 | |
---|
19 | IF(WIN32) |
---|
20 | INCLUDE_DIRECTORIES(tools) |
---|
21 | |
---|
22 | SET( OBJECTS_SRC_FILES |
---|
23 | objects/WorldEntity.cc |
---|
24 | objects/test1.cc |
---|
25 | objects/test2.cc |
---|
26 | objects/test3.cc |
---|
27 | objects/Ambient.cc |
---|
28 | objects/Skybox.cc |
---|
29 | objects/Camera.cc |
---|
30 | # objects/SpaceshipSteeringObject.cc |
---|
31 | objects/Fighter.cc |
---|
32 | objects/Model.cc |
---|
33 | objects/SpaceShip.cc |
---|
34 | objects/NPC.cc |
---|
35 | objects/Projectile.cc |
---|
36 | objects/weapon_system/AmmunitionDump.cc |
---|
37 | objects/weapon_system/BarrelGun.cc |
---|
38 | objects/weapon_system/BaseWeapon.cc |
---|
39 | objects/weapon_system/Bullet.cc |
---|
40 | objects/weapon_system/BulletManager.cc |
---|
41 | objects/weapon_system/WeaponStation.cc |
---|
42 | objects/Explosion.cc |
---|
43 | tools/BillboardSet.cc |
---|
44 | tools/Light.cc |
---|
45 | tools/Mesh.cc |
---|
46 | ) |
---|
47 | ELSE(WIN32) |
---|
48 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
49 | SET(LINK_OBJECTS_LIBRARY tools) |
---|
50 | ENDIF(WIN32) |
---|
51 | |
---|
52 | IF(WIN32) |
---|
53 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
---|
54 | ELSE(WIN32) |
---|
55 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
56 | ENDIF(WIN32) |
---|
57 | |
---|
58 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
59 | |
---|
60 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
61 | |
---|
62 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
63 | ${OGRE_LIBRARIES} |
---|
64 | ${OIS_LIBRARIES} |
---|
65 | loader |
---|
66 | audio |
---|
67 | network |
---|
68 | core |
---|
69 | hud |
---|
70 | ${LINK_OBJECTS_LIBRARY} |
---|
71 | util |
---|
72 | particle |
---|
73 | ) |
---|
74 | |
---|
Note: See
TracBrowser
for help on using the repository browser.