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 |
---|
[612] | 12 | Orxonox.cc |
---|
| 13 | SpaceshipSteering.cc |
---|
| 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/Camera.cc |
---|
[608] | 28 | # objects/SpaceshipSteeringObject.cc |
---|
[718] | 29 | objects/Fighter.cc |
---|
[555] | 30 | objects/Model.cc |
---|
[576] | 31 | objects/Mesh.cc |
---|
[676] | 32 | objects/Light.cc |
---|
[608] | 33 | objects/SpaceShip.cc |
---|
| 34 | objects/NPC.cc |
---|
[633] | 35 | objects/BillboardSet.cc |
---|
[643] | 36 | objects/Projectile.cc |
---|
[669] | 37 | objects/weapon_system/AmmunitionDump.cc |
---|
| 38 | objects/weapon_system/BarrelGun.cc |
---|
[671] | 39 | objects/weapon_system/BaseWeapon.cc |
---|
[669] | 40 | objects/weapon_system/Bullet.cc |
---|
| 41 | objects/weapon_system/BulletManager.cc |
---|
| 42 | objects/weapon_system/WeaponStation.cc |
---|
[646] | 43 | objects/Explosion.cc |
---|
[547] | 44 | ) |
---|
| 45 | ELSE(WIN32) |
---|
| 46 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
| 47 | ENDIF(WIN32) |
---|
[482] | 48 | |
---|
[555] | 49 | IF(WIN32) |
---|
[576] | 50 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
---|
[555] | 51 | ELSE(WIN32) |
---|
| 52 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
| 53 | ENDIF(WIN32) |
---|
[341] | 54 | |
---|
[547] | 55 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
| 56 | |
---|
[358] | 57 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
[341] | 58 | |
---|
[462] | 59 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
[376] | 60 | ${OGRE_LIBRARIES} |
---|
| 61 | ${OIS_LIBRARIES} |
---|
| 62 | loader |
---|
[389] | 63 | audio |
---|
[376] | 64 | network |
---|
| 65 | core |
---|
| 66 | hud |
---|
[547] | 67 | ${LINK_OBJECTS_LIBRARY} |
---|
[480] | 68 | xml |
---|
[535] | 69 | particle |
---|
[341] | 70 | ) |
---|
[389] | 71 | |
---|
Note: See
TracBrowser
for help on using the repository browser.