How to use compiler variable to set VERSION?
Posted: Fri May 29, 2009 5:37 pm
I want to set the VERSION variable via a compiler variable, which will be handed to miabuild on the command line:
$ miabuild project.mpr BUILDVERSION="1.0.567"
In the project settings dialog, I have "Product Version:" set to #BUILDVERSION#. A balloon message warns me that version numbers must be "only numbers and periods" but everything builds without error.
In the debugger, I have added a watch on VERSION, and VERSION contains #BUILDVERSION#, not 1.0.567.
Evidently, the balloon message is correct. So how do I set VERSION via a compiler variable?
InstallAware 9 on XP Pro SP2.
Thanks,
$ miabuild project.mpr BUILDVERSION="1.0.567"
In the project settings dialog, I have "Product Version:" set to #BUILDVERSION#. A balloon message warns me that version numbers must be "only numbers and periods" but everything builds without error.
In the debugger, I have added a watch on VERSION, and VERSION contains #BUILDVERSION#, not 1.0.567.
Evidently, the balloon message is correct. So how do I set VERSION via a compiler variable?
InstallAware 9 on XP Pro SP2.
Thanks,