Visual Studio C++, in the pre-build event is there a way to get the list of files being compiled?

  • Thread starter Thread starter Solaris783
  • Start date Start date
S

Solaris783

Guest
In the Pre-build event I'd like the list of files visual studio will compile. I'd like to run scripts just on those files. Is there a way to do this? I don't want to check every file in the project every time I compile to see if the script needs to run on them. I just want to run the script on the files that have changed/being compiled. Ideally I wouldn't have to detect myself which files have changed (by looking at timestamps or keeping track of a file hash).

Continue reading...
 
Back
Top