Forum > General

[SOLVED] Version Info

(1/3) > >>

MountainQ:
Hi everyone;
I would like to make the version info (major, minor, revision) part of the filename of the executable.
Unfortunately I could not find anything; can anyone point in the right direction.
Best

Ally:
Hello MountainQ,

here are two examples.
rhsVersionFromFileTest determines the version of any exe file.
rhsVersionNumberTest determines the own version number.

Greetings Roland 

TRon:
@Ally:
I do believe that MountainQ wants to have those numbers in the executable filename that Lazarus generated.

@MountainQ
afaik that is not possible. Last time I checked the version/revision numbers in the project options are not stored in a macro and thus unfortunately cannot be used for generating the name of the executable file.

MountainQ:
@TRon:
you're exactly right about my intent. That is a bit surprising; I was already wondering whether it is possible to create such a macro.
@Ally:
Thanks for your quick response.

vangli:
A start may be looking at the project *.lpi file. Version/Revision numbers are stored there. Bent

Navigation

[0] Message Index

[#] Next page

Go to full version