If you look in the FB5 help file under "Accessing the options settings via scripting" there is a property for CompilerVersion. The help file shows versions for D2006 and under, but doesn't show the version for D2007. I tried using 12 but it gives me an error message that the compiler isn't installed. What is the integer value I should be using for D2007?
Thanks for the update, we’ll update the help. D2007 should be 12. Are you able to build the project if you set the compiler version to 2007 via the property page?
Yes, my mistake. These are older scripts that I'm bringing into FB5, and there was a script futher down that was setting the compiler version to a hardcoded value instead of using the variable we were assigning.
Our build is a set of 26 projects for 4-5 dozen exe, dll, ocx's and such, so we make heavy use of variables for changing properties and build settings, rarely do we hard code a setting. From my initial tests the general setting for Delphi version doesn't seem to be flowing down to all of the existing projects, so I'm keeping the scripts for setting the compiler settings for the time being.