Christian Walther
71a4e34d97
fileAPI: Expose CMAKE_<LANG>_COMPILER_ARG1
...
Compiler arguments coming from CC environment variables or multi-element
CMAKE_<LANG>_COMPILER variables set by toolchain files were previously not
exposed in the file API. Among other possible problems, this caused clients
to determine wrong system include paths and built-in preprocessor macros by
calling the compiler without these important arguments.
This is fixed by adding an optional "commandFragment" attribute to the
compiler description in the `toolchains` object, containing these arguments
as a command line fragment. This is already the form in which they are
internally stored in the CMAKE_<LANG>_COMPILER_ARG1 variable, so all that is
required is adding this variable to the set of exported variables, besides
some logic to omit it if empty.
Issue: #22568
2025-12-03 07:34:53 +11:00
..
2025-10-07 10:44:28 -04:00
2024-12-10 09:04:31 -05:00
2025-01-27 09:49:19 +01:00
2025-10-07 10:44:28 -04:00
2025-07-09 10:08:47 -04:00
2023-05-19 12:10:20 +02:00
2025-10-07 10:44:28 -04:00
2025-10-02 10:46:16 -04:00
2025-10-07 09:29:32 -04:00
2022-08-22 14:51:16 -04:00
2025-07-26 18:51:27 +10:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-16 17:42:12 +03:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2025-09-29 18:26:44 -04:00
2025-07-26 18:51:27 +10:00
2022-08-18 15:49:07 -04:00
2025-04-14 09:34:22 -04:00
2025-01-27 09:49:19 +01:00
2025-07-26 18:51:27 +10:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-16 17:42:12 +03:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2022-08-22 14:51:16 -04:00
2025-10-07 10:44:28 -04:00
2025-07-26 18:51:27 +10:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-16 17:42:12 +03:00
2025-04-14 09:34:22 -04:00
2025-10-07 10:44:28 -04:00
2025-05-09 16:46:43 +02:00
2025-07-26 18:51:27 +10:00
2022-12-17 08:52:04 -05:00
2025-04-14 09:34:22 -04:00
2022-12-17 08:52:04 -05:00
2025-04-14 10:42:03 -04:00
2025-05-09 16:46:43 +02:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-16 17:42:12 +03:00
2025-04-14 09:34:22 -04:00
2022-12-17 08:52:04 -05:00
2025-04-28 13:55:36 +02:00
2025-04-14 09:34:22 -04:00
2025-04-14 09:34:22 -04:00
2025-04-14 09:34:22 -04:00
2025-04-14 10:42:03 -04:00
2025-05-09 16:46:43 +02:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-20 14:45:24 -04:00
2025-04-14 10:42:03 -04:00
2025-07-26 18:51:27 +10:00
2023-09-01 14:02:44 -04:00
2025-04-14 09:34:22 -04:00
2023-06-05 06:20:50 -04:00
2023-06-05 06:20:50 -04:00
2025-12-03 07:34:53 +11:00
2023-06-05 06:20:50 -04:00
2023-06-05 06:20:50 -04:00
2025-12-03 07:34:53 +11:00
2025-04-14 09:34:22 -04:00
2025-12-03 07:34:53 +11:00
2025-07-26 18:51:27 +10:00
2021-01-12 15:43:38 -08:00
2025-04-14 09:34:22 -04:00
2021-01-12 15:43:38 -08:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-04-14 10:42:03 -04:00
2025-10-16 17:42:12 +03:00
2025-04-14 09:34:22 -04:00
2021-01-12 15:43:38 -08:00
2025-12-03 07:34:53 +11:00