Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 10, 2009, 4:44:05 PM (15 years ago)
Author:
landauf
Message:

replaced the old orxonox executable with an orxonox library. linked that library into the new orxonox executable which only contains one file (Orxonox.cc).

File:
1 edited

Legend:

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

    r3370 r5613  
    3737ENDIF()
    3838
    39 ORXONOX_ADD_EXECUTABLE(orxonox
     39ORXONOX_ADD_LIBRARY(orxonox
    4040  FIND_HEADER_FILES
    4141  TOLUA_FILES
     
    4545    objects/quest/QuestDescription.h
    4646    objects/quest/QuestManager.h
     47  DEFINE_SYMBOL
     48    "ORXONOX_SHARED_BUILD"
    4749  PCH_FILE
    4850    OrxonoxPrecompiledHeaders.h
    49   # When defined as WIN32 this removes the console window on Windows
    50   ${ORXONOX_WIN32}
    5151  LINK_LIBRARIES
    5252    ${Boost_FILESYSTEM_LIBRARY}
     
    6969)
    7070
    71 GET_TARGET_PROPERTY(_exec_loc orxonox LOCATION)
     71ORXONOX_ADD_EXECUTABLE(orxonox-main
     72  FIND_HEADER_FILES
     73  # When defined as WIN32 this removes the console window on Windows
     74  ${ORXONOX_WIN32}
     75  LINK_LIBRARIES
     76    orxonox
     77  SOURCE_FILES
     78    Orxonox.cc
     79  OUTPUT_NAME orxonox
     80)
     81
     82GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION)
    7283GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME)
    7384SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")
Note: See TracChangeset for help on using the changeset viewer.