summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-01-15 21:21:10 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-04 14:03:35 (GMT)
commit11da882a1293b39ddd054342b1e6f2f3bd1bc934 (patch)
tree187dc31245841919d54a28a566b5e0e8550c6980 /Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake
parent36cf44a7a3a8931c97790db6df61439d4dd86ea3 (diff)
downloadCMake-11da882a1293b39ddd054342b1e6f2f3bd1bc934.zip
CMake-11da882a1293b39ddd054342b1e6f2f3bd1bc934.tar.gz
CMake-11da882a1293b39ddd054342b1e6f2f3bd1bc934.tar.bz2
Apple: Introduce separate system name for iOS, tvOS, and watchOS
- Remove code signing requirements for non-macOS - Do not set deployment target for non-macOS - Build static library for compiler feature detection for non-macOS - Use framework to run CompilerId tests for watchOS - Port tests to new SDK handling - Add new Apple cross-compiling section to toolchain documentation Closes: #17870
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake
index a797410..ab31387 100644
--- a/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake
@@ -2,11 +2,8 @@ cmake_minimum_required(VERSION 2.8.5)
project(XcodeInstallIOS)
-set(CMAKE_OSX_SYSROOT iphoneos)
set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")
-set(CMAKE_OSX_ARCHITECTURES "armv7;i386")
-
add_library(foo STATIC foo.cpp)
install(TARGETS foo ARCHIVE DESTINATION lib)