summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/ninja-custom-command-depends.rst
diff options
context:
space:
mode:
authorAbdelmaged Khalifa <abdelmaged.khalifa@gmail.com>2023-02-17 13:11:01 (GMT)
committerAbdelmaged Khalifa <abdelmaged.khalifa@gmail.com>2023-02-17 15:12:12 (GMT)
commitea2a05f402d2e1090d8d1e92e67c08ac1e5af66a (patch)
treec82a237ca6fd9e37891d49fe459d8ae898cbd3e8 /Help/release/dev/ninja-custom-command-depends.rst
parent51c79170720abc16981381c924e2c50b5ed45ecf (diff)
downloadCMake-ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a.zip
CMake-ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a.tar.gz
CMake-ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a.tar.bz2
Add variable CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY
Add CMake variable `CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` to enable option `DEPENDS_EXPLICIT_ONLY` on all uses of `add_custom_command`. Fixes: #17097
Diffstat (limited to 'Help/release/dev/ninja-custom-command-depends.rst')
-rw-r--r--Help/release/dev/ninja-custom-command-depends.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/ninja-custom-command-depends.rst b/Help/release/dev/ninja-custom-command-depends.rst
index 10c68cf..0b7840c 100644
--- a/Help/release/dev/ninja-custom-command-depends.rst
+++ b/Help/release/dev/ninja-custom-command-depends.rst
@@ -5,3 +5,7 @@ ninja-custom-command-depends
``DEPENDS_EXPLICIT_ONLY`` option to tell the :ref:`Ninja Generators`
not to add any dependencies implied by the target to which it is
attached.
+
+* The :variable:`CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` variable can
+ be set to enable ``DEPENDS_EXPLICIT_ONLY`` in all uses of
+ :command:`add_custom_command` command.