summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2023-07-18 02:01:14 (GMT)
committerCraig Scott <craig.scott@crascit.com>2023-08-04 09:16:28 (GMT)
commit91336d061c87b2426bc503dca4f4a6db2d545fd7 (patch)
treeab40139a227fb7a3414dd250584ed64130c0e4db /Help/variable
parent03208d9e18b9e99871a145a91b7453b17c5b4c23 (diff)
downloadCMake-91336d061c87b2426bc503dca4f4a6db2d545fd7.zip
CMake-91336d061c87b2426bc503dca4f4a6db2d545fd7.tar.gz
CMake-91336d061c87b2426bc503dca4f4a6db2d545fd7.tar.bz2
Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst b/Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst
index 9c9bd2c..b6a6233 100644
--- a/Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst
+++ b/Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst
@@ -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`.