15479: Add parameter DEPFILE to add_custom_command()

Merged Christoph Kulla requested to merge ckullabosch/cmake:feature/15479_depfile_ninja into master

This is a patch for issue #15479 (closed). It adds support for depfiles to add_custom_command and the ninja generator.

Merge request reports