14 Commits
Author SHA1 Message Date
Maximilian Sander 02dd870535 presets: Add configurePresetName macro
Fixes: #28028
2026-08-25 14:33:10 -04:00
Maximilian Sander 2a9cde8b6e presets: Add defined listings with unavailable reasons
Add workflow and per-type defined values to cmake --list-presets.
Each -defined value lists every non-hidden preset of the selected type
and explains why unavailable presets cannot be used. The defined value
is an alias for configure-defined.

Support --list-presets=defined in cmake build and workflow modes,
ctest, and cpack. Propagate configure preset unavailability to
dependent build, test, package, and workflow presets.

Fixes: #28016, #26118
2026-08-19 16:47:50 +02:00
Maximilian Sander 18b8743037 presets: Detail conflicting diagnostic settings 2026-07-29 18:20:32 +02:00
Maximilian Sander d4bb9f2c53 presets: Diagnose invalid test filter index types 2026-07-29 18:20:32 +02:00
Maximilian Sander b1d80531dc presets: Diagnose non-string workflow step types 2026-07-29 18:20:23 +02:00
Maximilian Sander e928b9327a presets: Identify unreachable inherited presets 2026-07-28 00:57:52 +02:00
Maximilian Sander 0779279585 presets: Identify unreachable configure references 2026-07-28 00:57:52 +02:00
Maximilian Sander 9f28db13e6 presets: Identify unknown configure preset references 2026-07-28 00:57:44 +02:00
Maximilian Sander 7de3c48731 Add '\n' to error output, missed in f134468a98 2026-07-28 00:51:55 +02:00
Maximilian Sander 7ccff59b07 presets: Name malformed preset collections 2026-07-28 00:41:41 +02:00
Maximilian Sander 394ce2ebe6 presets: Diagnose workflow configure preset mismatches 2026-07-28 00:41:41 +02:00
Maximilian Sander cdf2a36f48 HIP: Add support for [CMAKE_]HIP_LINKER_LAUNCHER
`CMAKE_<LANG>_LINKER_LAUNCHER` and `<LANG>_LINKER_LAUNCHER` are
already support for C, CXX, CUDA, OBJC, OBJCXX, and Fortran.  Add HIP.

Closes: #26967
2025-05-30 10:05:46 -04:00
Maximilian Sander 77312cc636 CUDA: Add support for [CMAKE_]CUDA_LINKER_LAUNCHER
`CMAKE_<LANG>_LINKER_LAUNCHER` and `<LANG>_LINKER_LAUNCHER` are
already support for C, CXX, OBJC, OBJCXX, and Fortran.  Add CUDA.

Issue: #26967
2025-05-30 10:00:18 -04:00
Maximilian Sander d176a8c5ce Fortran: Add support for [CMAKE_]Fortran_LINKER_LAUNCHER
`CMAKE_<LANG>_LINKER_LAUNCHER` and `<LANG>_LINKER_LAUNCHER` are
already support for C, CXX, OBJC, and OBJCXX.  Add Fortran.

Closes: #26951
2025-05-27 11:00:54 -04:00