Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2016, 9:05:10 AM (7 years ago)
Author:
ahedges
Message:

comment out some stuff and update the cmake file for macOS 10.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_HS16/CMakeLists.txt

    r10624 r11278  
    143143
    144144IF(APPLE)
    145   # Set 10.5 as the base SDK by default
    146   SET(XCODE_ATTRIBUTE_SDKROOT macosx10.5)
    147 
    148   # 10.6 sets x86_64 as the default architecture.
    149   # Because Carbon isn't supported on 64-bit and we still need it, force the architectures to ppc and i386
    150   IF(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
    151     SET(CMAKE_OSX_ARCHITECTURES "i386")
    152   ENDIF()
    153   IF(CMAKE_OSX_ARCHITECTURES MATCHES "ppc64")
    154     SET(CMAKE_OSX_ARCHITECTURES "ppc")
    155   ENDIF()
    156   IF(NOT CMAKE_OSX_ARCHITECTURES)
    157     SET(CMAKE_OSX_ARCHITECTURES "i386")
    158   ENDIF()
     145  # Use the latest SDK and a minimum deployment target of Mountain Lion
     146  SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")
     147  set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
     148  SET(CMAKE_OSX_ARCHITECTURES "x86_64")
    159149ENDIF()
    160150
     
    188178ADD_SUBDIRECTORY(doc)
    189179
     180IF(APPLE)
     181        INCLUDE(CopyLibPhase)
     182ENDIF(APPLE)
     183
    190184########### CPack Packaging ###########
    191185
    192186# Currently only testing on Apple
    193 #IF(APPLE)
    194 INCLUDE(BundleConfig)
    195 #ENDIF(APPLE)
     187# IF(APPLE)
     188 INCLUDE(BundleConfig)
     189# ENDIF(APPLE)
Note: See TracChangeset for help on using the changeset viewer.