diff options
author | Brad King <brad.king@kitware.com> | 2023-05-15 13:50:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-15 14:18:54 (GMT) |
commit | a4d114e8cdee623adb73af812968d7de67cdc639 (patch) | |
tree | 6328031449b9ea822616de87edcc4cff759c5884 /Tests/RunCMake/XcodeProject/DeploymentTarget.cmake | |
parent | bafb6e999d41a2b613e3c92ade97025de9d2ca27 (diff) | |
download | CMake-a4d114e8cdee623adb73af812968d7de67cdc639.zip CMake-a4d114e8cdee623adb73af812968d7de67cdc639.tar.gz CMake-a4d114e8cdee623adb73af812968d7de67cdc639.tar.bz2 |
Tests: Split some RunCMake.XcodeProject cases into a separate test
The `RunCMake.XcodeProject` has many cases and occasionally fails
due to timeout. Move iOS and other device-specific cases to a new
`RunCMake.XcodeProject-Device` test.
Diffstat (limited to 'Tests/RunCMake/XcodeProject/DeploymentTarget.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/DeploymentTarget.cmake | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Tests/RunCMake/XcodeProject/DeploymentTarget.cmake b/Tests/RunCMake/XcodeProject/DeploymentTarget.cmake deleted file mode 100644 index 234ceef..0000000 --- a/Tests/RunCMake/XcodeProject/DeploymentTarget.cmake +++ /dev/null @@ -1,27 +0,0 @@ -enable_language(C) - -# using Xcode 7.1 SDK versions for deployment targets - -if(CMAKE_SYSTEM_NAME STREQUAL "iOS") - set(CMAKE_OSX_DEPLOYMENT_TARGET "9.1") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") - set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO") -elseif(CMAKE_SYSTEM_NAME STREQUAL "watchOS") - set(CMAKE_OSX_DEPLOYMENT_TARGET "2.0") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "") - set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "YES") -elseif(CMAKE_SYSTEM_NAME STREQUAL "tvOS") - set(CMAKE_OSX_DEPLOYMENT_TARGET "9.0") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") - set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "") - set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "YES") -else() - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11") -endif() - -add_library(myFramework STATIC DeploymentTarget.c) -set_target_properties(myFramework PROPERTIES FRAMEWORK TRUE) |