Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 12:16:02 AM (17 years ago)
Author:
landauf
Message:

compiles with mingw

Location:
code/branches/FICN/src/orxonox
Files:
2 edited

Legend:

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

    r535 r547  
    33ADD_SUBDIRECTORY(core)
    44ADD_SUBDIRECTORY(hud)
    5 ADD_SUBDIRECTORY(objects)
     5IF(NOT WIN32)
     6  ADD_SUBDIRECTORY(objects)
     7ENDIF(NOT WIN32)
    68ADD_SUBDIRECTORY(weapon)
    79ADD_SUBDIRECTORY(particle)
     
    1921)
    2022
    21 ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
     23IF(WIN32)
     24  SET( OBJECTS_SRC_FILES
     25    objects/BaseObject.cc
     26    objects/WorldEntity.cc
     27    objects/test1.cc
     28    objects/test2.cc
     29    objects/test3.cc
     30    objects/Ambient.cc
     31    objects/Skybox.cc
     32    objects/SceneNode.cc
     33    objects/Entity.cc
     34    objects/Camera.cc
     35    objects/SpaceshipSteeringObject.cc
     36  )
     37ELSE(WIN32)
     38  SET(LINK_OBJECTS_LIBRARY objects)
     39ENDIF(WIN32)
    2240
    23 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES})
     41ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
     42
     43ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
    2444
    2545SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
     
    3353  core
    3454  hud
    35   objects
     55  ${LINK_OBJECTS_LIBRARY}
    3656  weapon
    3757  xml
  • code/branches/FICN/src/orxonox/objects/CMakeLists.txt

    r538 r547  
    2020  xml
    2121  orxonox
    22   ${WINDOWS_ENET_DEPENDENCIES}
    2322)
Note: See TracChangeset for help on using the changeset viewer.