Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 1, 2009, 12:04:50 AM (15 years ago)
Author:
landauf
Message:

Moved the Orxonox executable to the root of the src directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries2/src/CMakeLists.txt

    r5716 r5733  
    9999ADD_SUBDIRECTORY(modules)
    100100ADD_SUBDIRECTORY(orxonox)
     101
     102################ Executable ################
     103
     104# Translate argument
     105IF(ORXONOX_USE_WINMAIN)
     106  SET(ORXONOX_WIN32 WIN32)
     107ENDIF()
     108
     109ORXONOX_ADD_EXECUTABLE(orxonox-main
     110  # When defined as WIN32 this removes the console window on Windows
     111  ${ORXONOX_WIN32}
     112  LINK_LIBRARIES
     113    orxonox
     114  SOURCE_FILES
     115    Orxonox.cc
     116  OUTPUT_NAME orxonox
     117)
     118
     119GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION)
     120GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME)
     121SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")
Note: See TracChangeset for help on using the changeset viewer.