I did a bunch of searches trying to find this out, it seems like such
an obvious question that surely someone has already asked it.

Is there some way to tell within the IDE environment what revision I
am building/have just built?

I was thinking that, at the very least, I could add a preprocessor
macro to the .vcproj

 PreprocesssorDefinitions="BUILDING_REVISION=$Rev$"

For the executable itself, but I want something that I can see from
the command line in any post-build step tools/batch files I write:
%BUILDING_REVISION%

Not a big deal if not, our build process is non-trivial (involving
three platforms) so I figure I'm going to wind up using Final Builder
to supervise the build process.

- Oliver

Reply via email to