forked from ruslo/polly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ruslo#2 from cpp-pm/update_093019
Polly update 09-30-2019
- Loading branch information
Showing
9 changed files
with
272 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (c) 2015-2018, Ruslan Baratov | ||
# Copyright (c) 2017-2018, Robert Nitsch | ||
# Copyright (c) 2018, David Hirvonen | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_ANDROID_NDK_R18b_API_28_ARM64_V8A_CLANG_LIBCXX11_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_ANDROID_NDK_R18b_API_28_ARM64_V8A_CLANG_LIBCXX11_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_clear_environment_variables.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(ANDROID_NDK_VERSION "r18b") | ||
set(CMAKE_SYSTEM_VERSION "28") | ||
set(CMAKE_ANDROID_ARCH_ABI "arm64-v8a") | ||
set(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION "clang") | ||
set(CMAKE_ANDROID_STL_TYPE "c++_static") # LLVM libc++ static | ||
|
||
polly_init( | ||
"Android NDK ${ANDROID_NDK_VERSION} / \ | ||
API ${CMAKE_SYSTEM_VERSION} / ${CMAKE_ANDROID_ARCH_ABI} / \ | ||
Clang / c++11 support / libc++ static" | ||
"Unix Makefiles" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx11.cmake") # before toolchain! | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/os/android.cmake") |
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,44 @@ | ||
# Copyright (c) 2017-2018, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_IOS_12_1_DEP_9_3_ARM64_BITCODE_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_IOS_12_1_DEP_9_3_ARM64_BITCODE_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 9.3) | ||
|
||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"iOS ${IOS_SDK_VERSION} / Deployment ${IOS_DEPLOYMENT_SDK_VERSION} / arm64 / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
bitcode / \ | ||
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}/flags/bitcode.cmake") # after os/iphone.cmake | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_ios_development_team.cmake") |
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_3_DEP_9_3_ARM64_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_IOS_12_3_DEP_9_3_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.3) | ||
set(IOS_DEPLOYMENT_SDK_VERSION 9.3) | ||
|
||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"iOS ${IOS_SDK_VERSION} / Deployment ${IOS_DEPLOYMENT_SDK_VERSION} / 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") |
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,29 @@ | ||
# Copyright (c) 2016, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_OSX_10_15_DEP_10_10_CXX14_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_OSX_10_15_DEP_10_10_CXX14_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(OSX_SDK_VERSION "10.15") | ||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"Xcode (OS X ${OSX_SDK_VERSION} | Deployment 10.10) / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
LLVM Standard C++ Library (libc++) / c++14 support" | ||
"Xcode" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake") | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "OS X Deployment target" FORCE) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/library/std/libcxx.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx14.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/os/osx.cmake") |
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,29 @@ | ||
# Copyright (c) 2016, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_OSX_10_15_DEP_10_10_CXX17_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_OSX_10_15_DEP_10_10_CXX17_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(OSX_SDK_VERSION "10.15") | ||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"Xcode (OS X ${OSX_SDK_VERSION} | Deployment 10.10) / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
LLVM Standard C++ Library (libc++) / c++17 support" | ||
"Xcode" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake") | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "OS X Deployment target" FORCE) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/library/std/libcxx.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx17.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/os/osx.cmake") |
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,29 @@ | ||
# Copyright (c) 2016, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_OSX_10_15_DEP_10_10_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_OSX_10_15_DEP_10_10_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(OSX_SDK_VERSION "10.15") | ||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"Xcode (OS X ${OSX_SDK_VERSION} | Deployment 10.10) / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
LLVM Standard C++ Library (libc++) / c++11 support" | ||
"Xcode" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake") | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "OS X Deployment target" FORCE) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/library/std/libcxx.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx11.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/os/osx.cmake") |
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,29 @@ | ||
# Copyright (c) 2016, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_OSX_10_15_DEP_10_12_CXX17_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_OSX_10_15_DEP_10_12_CXX17_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(OSX_SDK_VERSION "10.15") | ||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"Xcode (OS X ${OSX_SDK_VERSION} | Deployment 10.12) / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
LLVM Standard C++ Library (libc++) / c++17 support" | ||
"Xcode" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake") | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12" CACHE STRING "OS X Deployment target" FORCE) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/library/std/libcxx.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx17.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/os/osx.cmake") |
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,29 @@ | ||
# Copyright (c) 2018, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_OSX_10_15_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_OSX_10_15_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
set(OSX_SDK_VERSION "10.15") | ||
set(POLLY_XCODE_COMPILER "clang") | ||
polly_init( | ||
"Xcode (OS X ${OSX_SDK_VERSION}) / \ | ||
${POLLY_XCODE_COMPILER} / \ | ||
LLVM Standard C++ Library (libc++) / c++11 support" | ||
"Xcode" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/xcode.cmake") | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "OS X Deployment target" FORCE) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/library/std/libcxx.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx11.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/os/osx.cmake") |