Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2007, 2:13:43 PM (17 years ago)
Author:
rgrieder
Message:
  • complete restructured all the CMLs, tried to avoid circular dependencies
Location:
code/branches/FICN_test/src/orxonox
Files:
5 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN_test/src/orxonox/CMakeLists.txt

    r754 r757  
    1 PROJECT(Orxonox)
    2 
    31ADD_SUBDIRECTORY(core)
    4 ADD_SUBDIRECTORY(hud)
    5 ADD_SUBDIRECTORY(objects)
    6 ADD_SUBDIRECTORY(tools)
    7 ADD_SUBDIRECTORY(particle)
    8 
    9 INCLUDE_DIRECTORIES(tools)
    102
    113SET( ORXONOX_SRC_FILES
     4  GraphicsEngine.cc
     5  Main.cc
    126  Orxonox.cc
    137  SpaceshipSteering.cc
    14   Main.cc
    15   GraphicsEngine.cc
     8  hud/Hud.cc
     9  particle/ParticleInterface.cc
     10  tools/BillboardSet.cc
     11  tools/Light.cc
     12  tools/Mesh.cc
     13  objects/Ambient.cc
     14  objects/Camera.cc
     15  objects/Explosion.cc
     16  objects/Fighter.cc
     17  objects/Model.cc
     18  objects/NPC.cc
     19  ojbects/Projectile.cc
     20  objects/Skybox.cc
     21  objects/SpaceShip.cc
     22# objects/SpaceshipSteeringObject.cc
     23# objects/test1.cc
     24# objects/test2.cc
     25# objects/test3.cc
     26  objects/WorldEntity.cc
     27  objects/weapon/AmmunitionDump.cc
     28  objects/weapon/BarrelGun.cc
     29  objects/weapon/BaseWeapon.cc
     30  objects/weapon/Bullet.cc
     31  objects/weapon/BulleManager.cc
     32  objects/weapon/WeaponStation.cc
    1633)
    1734
    18 IF(WIN32)
    19   SET( OBJECTS_SRC_FILES
    20     ${OBJECTS_SRC_FILES}
    21     ${TOOLS_SRC_FILES}
    22   )
    23 ELSE(WIN32)
    24   SET(LINK_OBJECTS_LIBRARY objects)
    25   SET(LINK_TOOLS_LIBRARY tools)
    26 ENDIF(WIN32)
     35ADD_EXECUTABLE(${Orxonox_BINARY_DIR}/main ${ORXONOX_SRC_FILES} )
    2736
    28 IF(WIN32)
    29 #  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
    30 ELSE(WIN32)
    31   ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
    32 ENDIF(WIN32)
     37SET_TARGET_PROPERTIES( main PROPERTIES LINK_FLAGS "--no-undefined" )
    3338
    34 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
    35 
    36 SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
    37 
    38 TARGET_LINK_LIBRARIES( ../../bin/main
     39TARGET_LINK_LIBRARIES( main
    3940  ${OGRE_LIBRARIES}
    4041  ${OIS_LIBRARIES}
    41   loader
     42  util
     43  core
    4244  audio
    4345  network
    44   core
    45   hud
    46   ${LINK_OBJECTS_LIBRARY}
    47   ${LINK_TOOLS_LIBRARY}
    48   util
    49   particle
     46  loader
    5047)
    5148
  • code/branches/FICN_test/src/orxonox/core/CMakeLists.txt

    r733 r757  
    1 PROJECT(Orxonox)
    2 
    31SET( CORE_SRC_FILES
    42  BaseObject.cc
     
    1715)
    1816
    19 IF(WIN32)
    20   ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
    21 ELSE(WIN32)
    22   ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
    23 ENDIF(WIN32)
     17ADD_LIBRARY(${Orxonox_BINARY_DIR}/core SHARED ${CORE_SRC_FILES})
     18SET_TARGET_PROPERTIES( core PROPERTIES LINK_FLAGS "--no-undefined" )
     19
     20TARGET_LINK_LIBRARIES( core
     21  util
     22)
  • code/branches/FICN_test/src/orxonox/objects/test2.h

    r734 r757  
    33
    44#include "orxonox/core/BaseObject.h"
    5 #include "Timer.h"
     5#include "../tools/Timer.h"
    66
    77namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.