Post-build commands
Posted: Sun Nov 20, 2011 11:06 pm
I have another question.
I have a pretty long list of post-build commands that post process the resulting binary. A not too long but not too short process. And it involves file copying too which makes it more painful.
Now I would like to ask if there is any switch to make those runs conditinal. My porject has many dependencies (dynamic linked libraries) that won't change the resulting binary but always trigger the post-build command. AFAIK this is desired working in Visual Studio but if you are using makefiles it is not.
So my current hacky solution is that I made a script (a batch file) which checks timestamps and runs commands accordingly. It's not too nice hence my question. ^^
I have a pretty long list of post-build commands that post process the resulting binary. A not too long but not too short process. And it involves file copying too which makes it more painful.
Now I would like to ask if there is any switch to make those runs conditinal. My porject has many dependencies (dynamic linked libraries) that won't change the resulting binary but always trigger the post-build command. AFAIK this is desired working in Visual Studio but if you are using makefiles it is not.
So my current hacky solution is that I made a script (a batch file) which checks timestamps and runs commands accordingly. It's not too nice hence my question. ^^