forked from ruslo/polly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ios-10-1-arm64-dep-8-0-hid-sections.cmake
45 lines (35 loc) · 1.43 KB
/
ios-10-1-arm64-dep-8-0-hid-sections.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2015, Tomas Zemaitis
# Copyright (c) 2016, David Hirvonen
# All rights reserved.
if(DEFINED POLLY_IOS_10_1_ARM64_DEP_8_0_HID_SECTIONS_CMAKE_)
return()
else()
set(POLLY_IOS_10_1_ARM64_DEP_8_0_HID_SECTIONS_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 10.1)
set(IOS_DEPLOYMENT_SDK_VERSION 8.0)
set(POLLY_XCODE_COMPILER "clang")
polly_init(
"iOS ${IOS_SDK_VERSION} Universal (iphoneos + iphonesimulator) / \
Deployment ${IOS_DEPLOYMENT_SDK_VERSION} / \
${POLLY_XCODE_COMPILER} / \
c++11 support / hidden / data-sections / function-sections"
"Xcode"
)
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake")
include(polly_fatal_error)
# Fix try_compile
set(MACOSX_BUNDLE_GUI_IDENTIFIER com.example)
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/cxx11.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/flags/hidden.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/flags/function-sections.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/flags/data-sections.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_ios_development_team.cmake")