Merge topic 'sarif_release_notes' into release-4.3 319e3425ba Help: Add SARIF output options to 4.0 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !12137
diff --git a/Help/release/4.0.rst b/Help/release/4.0.rst index 57f1635..18a0d84 100644 --- a/Help/release/4.0.rst +++ b/Help/release/4.0.rst
@@ -32,6 +32,11 @@ 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 @@ 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.