Is there a way to input the version settings at compile time, outside of the Version Info dialog of Target Settings?
What I'm really after is this: I would like to append the SVN revision of a project to its compiled binary. Something like:
3.1.0.3167
...where 3167 is the SVN revision, the other numbers are specific to CVI and this build.
I see in the version dialog where we have access to built-in macros and modifiers for the parts of this version system. Yet, I'm not seeing a way to have a pre-compiler script send values directly to the version number before it's built.
Here's a look at my project's version setup:
And the corresponding EXE that was built has this file properties:
You'll notice that the "File Version" is not the second file version (not sure what that one's for), but the first.
I would love to insert my SVN revision so that I can track back problems in production to a specific revision to recreate the issue and debug.