Merge topic 'sarif_release_notes' into release-4.1

319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
This commit is contained in:
Brad King
2026-06-04 09:45:09 -04:00

View File

@@ -32,6 +32,11 @@ Command-Line
final product. CMake will always emit a warning when the project file is
anything other than ``CMakeLists.txt``.
* The :option:`cmake --sarif-output` option was added to enable generation of a
`Static Analysis Results Interchange Format (SARIF)
<https://sarifweb.azurewebsites.net/>`_ log file recording diagnostic
messages from the run.
Commands
--------
@@ -59,6 +64,10 @@ Variables
was added to specify the :command:`execute_process` command's
default ``COMMAND_ERROR_IS_FATAL`` behavior.
* The :variable:`CMAKE_EXPORT_SARIF` variable was added to enable generation of
a SARIF log file listing diagnostics recorded during configuration and
generation of a CMake project.
* The :variable:`CMAKE_<LANG>_LINK_MODE` and
:variable:`CMAKE_<LANG>_DEVICE_LINK_MODE` variables were added to provide
information on how the link step is done.