Add add_custom_command DEPFILE support to other generators than Ninja
Currently it's only possible to provide a DEPFILE option to add_custom_command when using Ninja. !66 (merged)
Relevant issue: #15479 (closed)
The other generators should also support that option. I'm thinking specifically of Ninja Multi-Config (haven't tested), Unix Makefiles, and if possible Visual Studio and Xcode.