TwineCompile not setting version numbers in 64 bit executables in RadStudio 11.2

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
jaridmo
Posts: 1
Joined: Wed Jan 04, 2023 3:10 pm

TwineCompile not setting version numbers in 64 bit executables in RadStudio 11.2

Post by jaridmo »

We are passing the flags -FV"2.0.0.0" and -PV"2.0.0.1" to the command line jtmake.exe.

"C:\Program Files (x86)\JomiTech\TwineCompile\jtmake.exe" -B -p:TC_DisableProgress=True -ide110 -FV"2.0.0.0" -PV"2.0.0.1" -c"Release" -pl"Win64" "ProjectName.cbproj".

When we run this for 32bit with the -pl"Win32" this works and puts the version in the executable.
When we run this for 64bit with the -pl"Win64" this does not work and leaves the standard 1.0.0.0 as the version in the executable.

I can put a version number in the Program options and compile it in RadStudio 11.2 and it puts the version into the executable in 64bit, so not sure where the breakdown is. Any ideas?
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: TwineCompile not setting version numbers in 64 bit executables in RadStudio 11.2

Post by jomitech »

Unfortunately, the version information update feature of jtmake only supports Win32 targets at this time. I'd recommend using a resource file (.rc) in your project that is updated with new version information when you change the build #. Using a generated header file is one of the easiest ways to achieve this.
Jon
Post Reply