The version info options can be set using the "Project Options > Version Info" settings manually.
Is there any way to set the major/minor/revision version number or even the ProductVersion and FileDescription information programmatically? For example in the Compiler Options depending on the Build mode? Or via parameter when calling lazbuild? It is quite cumbersome to change those values manually everytime changing the build mode.
I have only found information about how to read out those information in code, not how to add compiler conditions to set them.