Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY

This commit is contained in:
Craig Scott
2023-07-18 12:01:14 +10:00
parent 03208d9e18
commit 91336d061c
2 changed files with 10 additions and 4 deletions
@@ -3,9 +3,11 @@ CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY
.. versionadded:: 3.27
Whether to enable DEPENDS_EXPLICIT_ONLY option by default in
Whether to enable the ``DEPENDS_EXPLICIT_ONLY`` option by default in
:command:`add_custom_command`.
This variable affects the default behavior of the :command:`add_custom_command`
command. Setting this variable to ``ON`` is equivalent to using the ``DEPENDS_EXPLICIT_ONLY``
option in all uses of that command.
command. Setting this variable to ``ON`` is equivalent to using the
``DEPENDS_EXPLICIT_ONLY`` option in all uses of that command.
See also :variable:`CMAKE_OPTIMIZE_DEPENDENCIES`.