I have a custom build step in a Visual Studio 2013 solution. The custom build step calls a python script on a text file that refers to several other files in my solution. I want the custom build step to be called whenever any of those files change or when the output of my script is missing. However, I don't want to manually maintain the custom tool "additional dependencies" and "outputs" fields.
I can easily make the script generate a list of dependencies in the same way that gcc can generate a .d file when passed in -MM. Is there a way I can use the .d output of my script to automatically populate the "Additional Dependencies" in my Custom Build step? Is there some other way to avoid maintaining the "additional dependencies" and "outputs" fields"?
The help page only shows how to add individual files.