add_custom_custom multiple output and multiple directories.

Skip IMPLICIT_DEPENDS. It is hacky and inaccurate anyways. Instead, teach the generator to write a DEPFILE and use that to communicate the dependencies. See this MR for adding support to VTK’s code generators.

DEPFILE is supported by every generator AFAIK.