Craig Scott
afa1d0d0e3
CMakeGUI: Sanitize source and build dirs the same as command line
...
This makes a difference when projects compare things like
CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR and the source
directory has a trailing slash in the GUI. The command line cmake invocation
cleans the paths at the beginning, so such comparisons return true. But the
GUI currently passes the paths unmodified, so such comparisons return false.
Change the logic to sanitize the paths used through the GUI in the same way
that the command line invocation does.
Fixes : #21421
2024-06-01 17:34:27 +10:00
..
2024-04-15 12:09:49 -04:00
2024-05-01 19:20:32 +02:00
2024-04-05 11:55:47 -04:00
2024-05-30 10:31:19 -04:00
2024-04-30 09:16:49 -04:00
2024-06-01 17:34:27 +10:00
2023-06-22 18:11:45 +02:00
2019-08-07 10:16:32 +02:00
2024-05-16 09:00:30 -07:00
2024-03-29 11:06:32 -04:00
2020-09-03 09:30:21 -04:00
2024-05-10 15:20:11 -04:00
2024-05-20 19:29:15 -04:00
2024-05-31 00:01:35 -04:00
2023-04-05 17:54:55 +02:00
2024-04-12 22:14:34 +03:00
2024-04-15 11:59:39 -04:00
2020-09-03 09:30:21 -04:00
2021-09-21 17:14:04 +02:00
2022-11-29 12:39:29 -05:00
2024-04-10 00:56:44 -04:00
2023-08-16 09:47:29 -04:00
2020-09-09 15:49:35 +03:00
2024-05-21 09:22:51 -04:00
2023-11-21 09:44:39 -05:00
2024-05-21 09:22:51 -04:00
2024-05-03 13:04:10 -04:00
2024-05-30 19:01:03 +10:00
2023-12-11 12:15:28 -05:00
2020-09-03 09:30:21 -04:00
2024-04-30 18:36:24 +02:00
2024-04-30 18:36:24 +02:00
2024-04-24 16:45:29 -04:00
2024-04-03 21:33:19 -04:00
2023-07-25 11:34:22 -04:00
2024-05-16 09:54:16 -04:00
2024-05-16 09:54:16 -04:00
2023-08-17 14:42:53 -04:00
2023-05-30 09:46:12 -04:00
2023-07-28 09:14:08 -04:00
2023-05-30 09:46:12 -04:00
2023-09-08 15:52:09 -04:00
2024-02-24 17:22:13 -05:00
2024-05-03 09:13:18 -04:00
2024-04-25 10:30:08 -04:00
2024-04-02 23:00:38 +11:00
2020-09-03 09:30:21 -04:00
2019-07-22 15:27:56 +02:00
2024-05-03 13:04:10 -04:00
2024-05-03 13:04:10 -04:00
2020-09-03 09:30:21 -04:00
2024-01-25 10:40:02 -05:00
2020-09-03 09:30:21 -04:00
2020-09-08 12:19:34 -04:00
2024-04-12 11:46:39 -04:00
2024-04-12 11:46:39 -04:00
2024-05-03 13:04:10 -04:00
2024-05-21 09:22:51 -04:00
2024-01-18 17:45:07 -05:00
2024-05-21 09:22:52 -04:00
2024-05-21 09:22:51 -04:00
2024-05-21 09:22:51 -04:00
2020-09-03 09:30:21 -04:00
2023-11-15 09:10:58 -05:00
2024-05-21 09:22:51 -04:00
2024-01-18 17:40:44 -05:00
2021-01-05 14:32:36 +02:00
2024-03-19 14:55:25 -04:00
2023-06-05 06:20:50 -04:00
2024-05-01 12:43:39 -04:00
2023-04-29 09:54:31 +02:00
2024-03-30 09:22:04 -04:00
2022-05-24 09:09:43 -04:00
2022-05-24 09:09:43 -04:00
2021-01-05 14:32:36 +02:00
2023-10-19 23:09:33 -04:00
2021-10-15 11:23:12 -04:00
2019-08-21 00:20:49 +02:00
2024-04-30 14:36:06 -04:00
2024-05-03 10:30:23 -04:00
2023-03-17 21:35:30 +11:00
2022-06-14 16:17:46 -04:00
2023-07-28 09:14:08 -04:00
2023-06-22 18:11:45 +02:00
2024-05-21 09:22:51 -04:00
2024-04-12 12:23:59 -04:00
2024-05-21 09:22:51 -04:00
2024-05-21 09:22:51 -04:00
2024-05-22 16:43:33 +02:00
2023-09-13 18:01:14 -04:00
2023-07-28 09:14:08 -04:00
2024-05-21 09:22:51 -04:00
2024-05-24 15:23:41 -07:00
2024-05-21 09:22:51 -04:00
2024-05-21 09:22:51 -04:00
2024-05-21 09:22:51 -04:00
2024-05-21 09:22:51 -04:00
2024-05-20 19:16:57 -04:00
2024-05-21 09:22:52 -04:00
2024-05-24 15:20:08 -07:00
2024-05-24 15:23:41 -07:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2024-05-14 12:52:08 -04:00
2024-05-24 10:29:57 -04:00
2024-04-11 10:19:44 -04:00
2024-05-24 10:29:57 -04:00
2024-05-23 09:54:19 -04:00
2024-05-08 10:37:34 -04:00
2024-05-10 14:20:52 -04:00
2024-05-10 14:20:52 -04:00
2024-05-08 10:37:34 -04:00
2024-05-08 10:37:34 -04:00
2024-05-08 10:37:34 -04:00
2024-05-08 10:37:34 -04:00
2024-05-15 13:27:38 -04:00
2024-05-15 11:40:31 -04:00
2024-04-12 11:46:40 -04:00
2024-05-03 10:30:23 -04:00
2020-09-03 09:30:21 -04:00
2021-01-28 12:47:58 -05:00
2020-09-03 09:30:21 -04:00
2021-01-28 12:47:58 -05:00
2021-06-04 08:52:01 -04:00
2023-07-28 09:14:08 -04:00
2023-08-16 09:56:48 -04:00
2021-01-05 14:32:36 +02:00
2024-05-03 13:04:10 -04:00
2020-09-03 09:30:21 -04:00
2024-05-03 13:04:10 -04:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2023-05-02 17:47:04 +02:00
2024-05-24 10:29:57 -04:00
2023-12-15 05:51:13 -08:00
2020-09-04 09:44:08 -04:00
2024-05-08 10:37:34 -04:00
2024-05-08 10:37:25 -04:00
2024-05-08 10:37:25 -04:00
2024-05-01 12:43:39 -04:00
2022-05-24 09:09:44 -04:00
2022-06-24 16:24:33 +02:00
2021-01-05 14:32:36 +02:00
2021-01-05 14:32:36 +02:00
2024-05-24 15:23:41 -07:00
2024-05-24 15:23:41 -07:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2024-05-29 20:39:17 +10:00
2023-02-14 14:34:03 -05:00
2024-05-21 09:22:51 -04:00
2020-09-03 09:30:21 -04:00
2022-07-26 12:25:42 -04:00
2022-05-24 09:09:43 -04:00
2023-08-02 10:07:56 -04:00
2020-09-03 09:30:21 -04:00
2024-04-11 10:19:44 -04:00
2024-04-11 10:19:44 -04:00
2024-05-28 14:36:42 -04:00
2024-05-14 12:52:08 -04:00
2023-03-30 09:18:53 -04:00
2020-09-03 09:30:21 -04:00
2022-09-26 10:56:54 -04:00
2020-09-03 09:30:21 -04:00
2024-04-02 17:33:02 -04:00
2023-08-29 10:51:30 -04:00
2024-04-11 10:19:44 -04:00
2023-06-22 15:44:17 +02:00
2020-09-03 09:30:21 -04:00
2020-09-03 09:30:21 -04:00
2023-06-22 15:44:17 +02:00
2022-12-03 22:25:57 +11:00
2022-12-03 22:25:57 +11:00
2023-10-02 10:17:31 -04:00
2024-05-20 19:12:19 -04:00
2024-05-20 19:12:19 -04:00
2020-09-03 09:30:21 -04:00
2024-01-25 10:40:02 -05:00
2024-05-02 09:43:17 -04:00
2024-05-02 09:40:04 -04:00
2024-05-08 10:37:34 -04:00
2024-05-08 10:37:34 -04:00
2022-11-29 12:39:46 -05:00
2022-11-29 12:39:29 -05:00
2022-11-29 12:39:29 -05:00
2022-06-13 09:05:24 -04:00
2023-07-27 18:35:52 -04:00