diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2015-08-15 20:37:35 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2015-08-26 18:54:52 (GMT) |
commit | ad262917d96aa4d6faeff3c9dfecf684cebbe123 (patch) | |
tree | 6d9209dc60903151eb2560ac8fb955f8c086aa9e /Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake | |
parent | 48fe617e667d2e6b1e471cfb56346de51f984ba5 (diff) | |
download | CMake-ad262917d96aa4d6faeff3c9dfecf684cebbe123.zip CMake-ad262917d96aa4d6faeff3c9dfecf684cebbe123.tar.gz CMake-ad262917d96aa4d6faeff3c9dfecf684cebbe123.tar.bz2 |
Xcode: Add unit test for iOS project install (#12506)
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake new file mode 100644 index 0000000..a797410 --- /dev/null +++ b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake @@ -0,0 +1,12 @@ +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) |