add_custom_command-depends-path.rst 416 B

12345678
  1. add_custom_command-depends-path
  2. -------------------------------
  3. * The :command:`add_custom_command` command learned to detect paths in
  4. ``DEPENDS`` arguments and convert them to paths relative to the current
  5. binary directory. This only applies to paths which contain a ``/`` or ``\\``
  6. in them because names like ``filename.txt`` could also be target names and
  7. cannot be coverted into absolute paths blindly.