summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject-Device/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindXCTest: Fix test module generation for Xcode 16Brad King2025-04-091-0/+1
| | | | | | | | | | | | | | | | | | | | | In Xcode 7.3 and above, the `TEST_HOST` setting causes Xcode to implicitly place the test module inside the executable bundle regardless of the module's own location settings. Since commit a364d2513a (Xcode: Fixup XCTest bundle location for Xcode 7.3, 2016-03-25, v3.5.2~6^2) we explicitly tell CMake to put the test module in the same location so that generator expressions used by `xctest_add_test` agree with where Xcode actually puts it. In Xcode 16 and above, our explicit location settings for the test module conflict with Xcode's `TEST_HOST` rules, causing errors about multiple commands producing the same path. Fix this by dropping CMake's explicit location for the test module unless needed to match a project-specified location for the testee. Instead, teach `xctest_add_test` to express the xctest module location selected by `TEST_HOST` by using generator expressions referencing the testee bundle. Fixes: #26301 Fixes: #26514
* Tests: Enable visionOS tests with Xcode 15.2Brad King2024-02-091-24/+22
| | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fixes: #25266
* Tests: Disable visionOS cases because Xcode 15.0 excludes supportBrad King2023-09-261-22/+24
| | | | | | | | | In commit 25977e177b (apple: add preliminary visionOS support, 2023-06-22) we added visionOS based on a Xcode 15 beta version, but the Xcode 15.0 final release did not include it. Disable the test cases until we can improve the condition to detect availability. Issue: #25266
* Xcode: reject legacy buildsystem for Xcode 14Gregor Jasny2023-08-311-2/+4
| | | | | | | | | | | With Xcode 14 support for the Legacy Build System has been removed and the BuildSystemType in the WorkspaceSettings is ignored. If CMake still generates projects targeted to the Lecacy Build System the build preparation phase will likely fail because Xcode for example misses any declared outputs from script invocations. This is a hard to debug problem and CMake should reject the invalid configuration instead.
* apple: add preliminary visionOS supportGregor Jasny2023-07-111-0/+23
|
* Tests: Split some RunCMake.XcodeProject cases into a separate testBrad King2023-05-151-0/+303
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.