Merge topic 'cmake-diagnostics-doc'

95f7f84609 Help: Fix CMD_INSTALL_ABSOLUTE_DESTINATION documentation
a882ec84ec cmDocumentation: Add diagnostics
97d13c3053 Help: Improve diagnostics documentation
3cccce8ca2 Help: Add developer documentation for new diagnostics
ffe4c2a8ff Help: Fix developer documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !11996
This commit is contained in:
Brad King
2026-05-04 14:32:00 +00:00
committed by Kitware Robot
18 changed files with 409 additions and 82 deletions

View File

@@ -61,9 +61,8 @@ signatures that specify them. The common options are:
but not recommended.
.. versionadded:: 4.4
The :ref:`CMD_INSTALL_ABSOLUTE_DESTINATION <CMD_INSTALL_ABSOLUTE_DESTINATION>`
diagnostic can be enabled to warn or error out when an absolute destination
is provided.
The :diagnostic:`CMD_INSTALL_ABSOLUTE_DESTINATION` diagnostic can be
enabled to warn or error out when an absolute destination is provided.
When a relative path is given, it is interpreted relative to the value
of the :variable:`CMAKE_INSTALL_PREFIX` variable.