diff options
author | Abdelmaged Khalifa <abdelmaged.khalifa@gmail.com> | 2023-02-17 13:11:01 (GMT) |
---|---|---|
committer | Abdelmaged Khalifa <abdelmaged.khalifa@gmail.com> | 2023-02-17 15:12:12 (GMT) |
commit | ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a (patch) | |
tree | c82a237ca6fd9e37891d49fe459d8ae898cbd3e8 /Help/release/dev/ninja-custom-command-depends.rst | |
parent | 51c79170720abc16981381c924e2c50b5ed45ecf (diff) | |
download | CMake-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.rst | 4 |
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. |