Last change
on this file since 707 was
676,
checked in by landauf, 17 years ago
|
- include guards
- readded Light (maybe i'll remove it again, but at the moment i want it to stay)
|
File size:
1.5 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/Camera.cc |
---|
28 | # objects/SpaceshipSteeringObject.cc |
---|
29 | objects/Model.cc |
---|
30 | objects/Mesh.cc |
---|
31 | objects/Light.cc |
---|
32 | objects/SpaceShip.cc |
---|
33 | objects/NPC.cc |
---|
34 | objects/BillboardSet.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 | ) |
---|
44 | ELSE(WIN32) |
---|
45 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
46 | ENDIF(WIN32) |
---|
47 | |
---|
48 | IF(WIN32) |
---|
49 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
---|
50 | ELSE(WIN32) |
---|
51 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
52 | ENDIF(WIN32) |
---|
53 | |
---|
54 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
55 | |
---|
56 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
57 | |
---|
58 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
59 | ${OGRE_LIBRARIES} |
---|
60 | ${OIS_LIBRARIES} |
---|
61 | loader |
---|
62 | audio |
---|
63 | network |
---|
64 | core |
---|
65 | hud |
---|
66 | ${LINK_OBJECTS_LIBRARY} |
---|
67 | xml |
---|
68 | particle |
---|
69 | ) |
---|
70 | |
---|
Note: See
TracBrowser
for help on using the repository browser.