Lazarus
Using the Lazarus IDE => General => Topic started by: Чебурашка on July 18, 2022, 03:27:22 pm
-
Hello,
is there a way to use the lazarus project "Version Info" (Menu/Project/Project Options/Version Info) in order to create linux executable that is formed with exe name + version info?
Example:
Project name: "SoftwareProject"
Target file name: "bin/SoftwareProject{ some placeholder ???? }"
Vesion Info: "M(ajor).m(inor).r(ev).b(uild)"
When doing "Build" I would get a linux executable like
bin/SoftwareProject-M.m.r.b
I see that the numbers are stored in the lpi,
- MajorVersionNr
- MinorVersionNr
- RevisionNr
- BuildNr
but if I try to use them, example
bin/SoftwareProject-$(MajorVersionNr).$(MinorVersionNr).$(RevisionNr).$(BuildNr)
But I get a ugly "bin/SoftwareProject-..."
Thank you