From 319e3425ba0c91b0564411d11c0c42d437b38e5d Mon Sep 17 00:00:00 2001 From: Daniel Tierney Date: Wed, 3 Jun 2026 11:51:47 -0400 Subject: [PATCH] Help: Add SARIF output options to 4.0 release notes These options were added in 4.0 but accidentally left out of release notes. --- Help/release/4.0.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Help/release/4.0.rst b/Help/release/4.0.rst index 57f1635cd3..18a0d84371 100644 --- a/Help/release/4.0.rst +++ b/Help/release/4.0.rst @@ -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) + `_ 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__LINK_MODE` and :variable:`CMAKE__DEVICE_LINK_MODE` variables were added to provide information on how the link step is done.