Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/CMakeLists.txt @ 651

Last change on this file since 651 was 646, checked in by landauf, 17 years ago
  • added very bad collision detection (presentation hack :D)
  • added explosions
  • fixed bug in ParticleInterface (it tried to delete SceneManager)

AND:

  • fixed one of the most amazing bugs ever! (the game crashed when I deleted an object through a timer-function. because the timer-functions is called by an iterator, the iterator indirectly delted its object. by overloading the (it++) operator, i was able to solve this problem)
File size: 1.6 KB
RevLine 
[341]1PROJECT(Orxonox)
2
[376]3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
[547]5IF(NOT WIN32)
6  ADD_SUBDIRECTORY(objects)
7ENDIF(NOT WIN32)
[535]8ADD_SUBDIRECTORY(particle)
[376]9
10
[341]11SET( ORXONOX_SRC_FILES
[612]12  Orxonox.cc
13  SpaceshipSteering.cc
14  Main.cc
15  GraphicsEngine.cc
[341]16)
17
[547]18IF(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
[608]30#    objects/SpaceshipSteeringObject.cc
[555]31    objects/Model.cc
[576]32    objects/Mesh.cc
33    objects/BaseEntity.cc
[608]34    objects/SpaceShip.cc
35    objects/NPC.cc
[633]36    objects/BillboardSet.cc
37    objects/Light.cc
[643]38    objects/Projectile.cc
39    objects/weapon_system/ammunition_dump.cc
40    objects/weapon_system/barrel_gun.cc
41    objects/weapon_system/base_weapon.cc
42    objects/weapon_system/bullet.cc
43    objects/weapon_system/bullet_manager.cc
44    objects/weapon_system/weapon_station.cc
[646]45    objects/Explosion.cc
[547]46  )
47ELSE(WIN32)
48  SET(LINK_OBJECTS_LIBRARY objects)
49ENDIF(WIN32)
[482]50
[555]51IF(WIN32)
[576]52#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
[555]53ELSE(WIN32)
54  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
55ENDIF(WIN32)
[341]56
[547]57ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
58
[358]59SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
[341]60
[462]61TARGET_LINK_LIBRARIES( ../../bin/main
[376]62  ${OGRE_LIBRARIES}
63  ${OIS_LIBRARIES}
64  loader
[389]65  audio
[376]66  network
67  core
68  hud
[547]69  ${LINK_OBJECTS_LIBRARY}
[480]70  xml
[535]71  particle
[341]72)
[389]73
Note: See TracBrowser for help on using the repository browser.