Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 17, 2011, 12:12:17 PM (13 years ago)
Author:
youngk
Message:

Cocoa Integration of Orxonox and CPack testing. @Reto: Do NOT merge with kicklib, please.

File:
1 edited

Legend:

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

    r7510 r8083  
    140140  SOURCE_FILES
    141141    Orxonox.cc
     142    OrxonoxMac.mm
    142143  OUTPUT_NAME orxonox
    143144)
     145
     146# Apple Mac OS X specific build settings
     147IF(APPLE)
     148  # On Apple we need to link to AppKit and Foundation frameworks
     149  TARGET_LINK_LIBRARIES(orxonox-main
     150    "/System/Library/Frameworks/AppKit.framework"
     151    "/System/Library/Frameworks/Foundation.framework"
     152  )
     153 
     154  # Tell Apple where to find the Info.plist file, used for Cocoa
     155  # TODO: Of course, this only makes sense for development builds. CPack will take care of this otherwise
     156  # Property XCODE_ATTRIBUTE_INFOPLIST_FILE is fo Xcode, while the other is for makefile generator
     157  SET_TARGET_PROPERTIES(orxonox-main PROPERTIES
     158    XCODE_ATTRIBUTE_INFOPLIST_FILE "${DEFAULT_DATA_PATH}/mac/Orxonox-Info.plist"
     159    MACOSX_BUNDLE_INFO_PLIST "${DEFAULT_DATA_PATH}/mac/Orxonox-Info.plist"
     160  )
     161ENDIF(APPLE)
     162
    144163# Main executable should depend on all modules
    145164ADD_DEPENDENCIES(orxonox-main ${ORXONOX_MODULES})
Note: See TracChangeset for help on using the changeset viewer.