I have a big project with an external build tool to build glsl files which converts it to c++ header file (a python script that generates this header file) now everytime i modify any of the glsl files, i want the build system to run this external tool and then compile my project, but somehow i am not able to do this with the custom build step, i tried adding these dependencies "$(ProjectDir)Core\shaders\GLSL\Shaders*.glsl" as part of the additional dependencies but somehow it doesnt work and i have to rebuild the entire project as the same script is part of my pre-build event.
In simple terms, i want this external tool to run everytime any of my glsl files are modified (they are all in one directory) before i build or run the project!
Can someone please tell me how to do this?