ninja-custom-command-depends.rst 446 B

1234567891011
  1. ninja-custom-command-depends
  2. ----------------------------
  3. * The :command:`add_custom_command` command gained a new
  4. ``DEPENDS_EXPLICIT_ONLY`` option to tell the :ref:`Ninja Generators`
  5. not to add any dependencies implied by the target to which it is
  6. attached.
  7. * The :variable:`CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` variable can
  8. be set to enable ``DEPENDS_EXPLICIT_ONLY`` in all uses of
  9. :command:`add_custom_command` command.