Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Add 'ios-12-1-dep-11-0-arm64' toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Nov 7, 2018
1 parent d875809 commit bac177a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/detail/toolchain_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ def verify(self):
toolchain_table += [
Toolchain('ios', 'Xcode'),
Toolchain('ios-12-0-dep-11-0-arm64', 'Xcode', ios_version='12.0'),
Toolchain('ios-12-1-dep-11-0-arm64', 'Xcode', ios_version='12.1'),
Toolchain('ios-11-4-dep-9-3-arm64', 'Xcode', ios_version='11.4'),
Toolchain('ios-11-4-dep-9-3-armv7', 'Xcode', ios_version='11.4'),
Toolchain('ios-11-4-dep-9-3-arm64-armv7', 'Xcode', ios_version='11.4'),
Expand Down
42 changes: 42 additions & 0 deletions ios-12-1-dep-11-0-arm64.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (c) 2017-2018, Ruslan Baratov
# All rights reserved.

if(DEFINED POLLY_IOS_12_1_DEP_11_0_ARM64_CMAKE_)
return()
else()
set(POLLY_IOS_12_1_DEP_11_0_ARM64_CMAKE_ 1)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_clear_environment_variables.cmake")

include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake")

set(IOS_SDK_VERSION 12.1)
set(IOS_DEPLOYMENT_SDK_VERSION 11.0)

set(POLLY_XCODE_COMPILER "clang")
polly_init(
"iOS ${IOS_SDK_VERSION} / Deployment ${IOS_DEPLOYMENT_SDK_VERSION} / Universal (arm64) / \
${POLLY_XCODE_COMPILER} / \
c++14 support"
"Xcode"
)

include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake")

include(polly_fatal_error)

# Fix try_compile
include(polly_ios_bundle_identifier)

set(CMAKE_MACOSX_BUNDLE YES)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer")

set(IPHONEOS_ARCHS arm64)
set(IPHONESIMULATOR_ARCHS "")

include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/os/iphone.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx14.cmake")

include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_ios_development_team.cmake")

0 comments on commit bac177a

Please sign in to comment.