mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
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
12 lines
446 B
ReStructuredText
12 lines
446 B
ReStructuredText
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.
|