This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'ios-12-1-dep-11-0-arm64' toolchain
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |