Brad King
2e59cee922
FindXCTest: Fix test module generation for Xcode 16
...
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
2025-04-09 17:06:13 -04:00
..
2025-02-14 16:17:45 -05:00
2025-01-22 14:15:11 -05:00
2024-04-30 09:33:44 -04:00
2024-06-14 11:22:14 -04:00
2024-04-30 09:33:44 -04:00
2024-09-19 11:58:41 -04:00
2025-03-03 09:55:56 -05:00
2024-04-30 09:33:44 -04:00
2024-04-22 18:16:39 -04:00
2025-01-28 10:35:14 -05:00
2025-01-28 10:35:14 -05:00
2023-02-28 13:39:44 -05:00
2025-01-22 08:51:45 -05:00
2023-07-25 16:21:31 -04:00
2023-12-14 14:05:28 -05:00
2023-12-14 14:05:28 -05:00
2023-12-14 14:05:28 -05:00
2022-12-06 15:44:33 -05:00
2023-09-27 13:28:52 -04:00
2024-10-07 14:19:08 -04:00
2024-09-27 16:45:24 -04:00
2024-09-25 16:53:06 -04:00
2025-01-30 09:34:41 -05:00
2025-01-30 09:34:41 -05:00
2025-01-30 09:34:41 -05:00
2025-01-30 09:34:41 -05:00
2023-07-31 13:48:37 -04:00
2023-07-28 09:14:07 -04:00
2024-10-21 16:54:46 -04:00
2023-07-28 09:14:07 -04:00
2024-05-28 14:36:50 -04:00
2023-07-28 09:14:08 -04:00
2024-08-29 13:19:15 -04:00
2023-07-28 09:14:07 -04:00
2024-08-29 13:19:15 -04:00
2025-01-27 20:36:06 -05:00
2024-08-29 13:19:15 -04:00
2024-03-04 13:09:58 -05:00
2023-05-18 13:41:31 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-11-11 14:35:00 -05:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-12-04 12:35:01 -05:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2025-01-27 20:36:06 -05:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2025-02-14 16:17:45 -05:00
2025-02-14 16:17:45 -05:00
2025-01-08 16:32:14 -05:00
2025-01-08 16:32:14 -05:00
2023-06-15 09:21:07 -04:00
2024-10-21 16:54:46 -04:00
2023-07-25 16:21:31 -04:00
2023-09-22 09:30:52 -04:00
2025-01-21 16:00:23 -05:00
2023-06-22 14:27:50 -04:00
2023-09-22 09:30:52 -04:00
2023-05-10 10:13:01 -04:00
2025-03-10 17:02:33 -04:00
2023-06-15 09:21:07 -04:00
2023-06-16 08:16:43 -04:00
2024-10-21 16:54:46 -04:00
2023-02-21 12:25:47 -05:00
2025-01-21 16:00:23 -05:00
2024-09-19 10:44:01 -04:00
2023-09-10 07:33:47 -04:00
2025-01-15 13:49:23 -05:00
2023-02-07 23:32:48 +04:00
2023-09-22 09:30:52 -04:00
2024-10-21 16:54:46 -04:00
2023-05-18 09:15:14 -04:00
2024-09-13 12:28:49 -04:00
2024-09-03 10:05:40 -04:00
2024-03-11 11:59:18 -04:00
2023-05-01 15:51:32 -04:00
2024-02-23 09:37:06 -05:00
2023-05-01 15:51:21 -04:00
2024-03-01 09:06:40 -05:00
2024-09-03 10:05:40 -04:00
2023-09-25 12:27:45 -04:00
2023-09-25 12:27:45 -04:00
2024-03-11 11:59:19 -04:00
2024-02-29 13:58:16 -05:00
2024-11-29 10:39:42 -05:00
2024-12-09 13:43:28 -05:00
2024-12-19 11:38:03 -05:00
2023-06-22 13:48:56 -04:00
2024-02-29 13:58:42 -05:00
2023-02-13 12:35:46 -05:00
2023-02-13 12:35:46 -05:00
2024-03-24 15:26:39 -04:00
2024-03-11 11:59:18 -04:00
2023-11-02 15:24:45 -04:00
2024-10-08 10:32:06 -04:00
2024-10-08 10:32:06 -04:00
2025-04-09 17:06:13 -04:00
2024-10-26 06:01:10 -04:00
2024-10-08 10:32:06 -04:00
2024-10-08 10:32:06 -04:00
2024-10-08 10:32:06 -04:00
2023-09-07 09:03:25 -04:00
2024-10-08 10:32:06 -04:00
2023-09-27 13:28:52 -04:00
2024-04-05 15:21:34 -04:00
2025-01-30 09:34:41 -05:00
2025-01-30 09:34:41 -05:00
2023-07-28 09:14:07 -04:00
2023-07-28 09:14:07 -04:00
2023-07-31 12:08:36 -04:00
2024-08-29 13:19:15 -04:00
2024-08-29 13:19:15 -04:00
2024-08-29 13:19:15 -04:00
2023-09-22 09:30:52 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-12-04 12:35:01 -05:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2024-10-26 06:01:10 -04:00
2025-02-14 16:17:45 -05:00
2023-05-10 10:13:00 -04:00
2023-09-22 09:30:52 -04:00
2022-11-14 14:26:10 -05:00
2023-05-10 10:13:01 -04:00
2022-11-14 14:26:10 -05:00
2023-02-21 12:25:47 -05:00
2022-11-14 14:26:10 -05:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2022-12-06 10:59:24 -05:00
2024-06-10 11:22:15 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-06-10 11:22:15 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-12-09 13:43:28 -05:00
2024-09-05 10:19:17 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-06-10 11:22:15 -04:00
2024-04-30 09:33:44 -04:00
2023-09-22 09:30:52 -04:00
2023-05-26 09:36:42 -04:00
2023-09-22 09:30:52 -04:00
2024-09-05 10:19:17 -04:00
2025-01-22 14:15:11 -05:00
2025-01-22 14:15:11 -05:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-05-30 14:20:03 -04:00
2024-04-30 09:33:44 -04:00
2024-06-14 11:22:14 -04:00
2024-06-14 11:22:14 -04:00
2024-06-14 11:22:14 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-06-14 11:22:14 -04:00
2024-04-30 09:33:44 -04:00
2024-04-22 18:17:28 -04:00
2024-04-30 09:33:44 -04:00
2023-09-22 09:30:52 -04:00
2024-08-20 11:21:01 -04:00
2024-08-20 11:21:01 -04:00
2024-05-14 14:55:07 -04:00
2024-05-14 14:55:07 -04:00
2022-11-14 14:26:10 -05:00
2022-11-14 14:26:10 -05:00
2024-04-30 09:33:44 -04:00
2024-06-14 11:22:14 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2023-02-28 13:39:44 -05:00
2023-02-28 13:39:52 -05:00
2025-03-05 09:01:37 -05:00
2024-04-30 09:33:44 -04:00
2024-10-26 06:01:10 -04:00
2023-02-28 10:18:31 -05:00
2023-02-28 10:18:31 -05:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2022-12-05 17:43:31 -05:00
2024-10-26 06:01:10 -04:00
2024-04-30 09:33:44 -04:00
2022-12-05 17:43:31 -05:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-30 09:33:44 -04:00
2024-04-22 18:22:11 -04:00
2024-04-30 09:33:44 -04:00
2023-09-22 09:30:52 -04:00
2024-04-30 09:33:44 -04:00
2024-02-09 15:54:40 -05:00
2024-02-09 15:54:40 -05:00
2025-02-14 10:10:12 -05:00
2024-10-31 08:52:52 -04:00
2024-04-30 09:33:44 -04:00
2024-06-10 11:22:15 -04:00
2024-04-30 09:33:44 -04:00