summaryrefslogtreecommitdiff
path: root/Help/release/dev/ninja-custom-command-depends.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/release/dev/ninja-custom-command-depends.rst')
-rw-r--r--Help/release/dev/ninja-custom-command-depends.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/release/dev/ninja-custom-command-depends.rst b/Help/release/dev/ninja-custom-command-depends.rst
new file mode 100644
index 0000000000..0b7840c940
--- /dev/null
+++ b/Help/release/dev/ninja-custom-command-depends.rst
@@ -0,0 +1,11 @@
+ninja-custom-command-depends
+----------------------------
+
+* The :command:`add_custom_command` command gained a new
+ ``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.