[Lazarus] Lazarus Version
Michael Van Canneyt
michael at freepascal.org
Sun Nov 6 11:59:44 CET 2016
On Sun, 6 Nov 2016, Mattias Gaertner via Lazarus wrote:
>
>> Balázs Székely via Lazarus <lazarus at lists.lazarus-ide.org> hat am 6. November 2016 um 11:14 geschrieben:
>>
>> Hi,
>>
>> Is there a way to get Lazarus version from a package?
>> I know about LazarusVersionStr constant from {$LazarusDir}/IDE/lazconfig.pp,
>> but that's not accessible from a package. I can create a patch if necessary,
>> but I was hopping somebody already did it.
>
> Use unit lclversion.
It would be good to have an option in the package system to write and/or
register the package version somewhere, so it is accessible at runtime, and
an application can query the various packages and their versions.
I have integrated such a registration in my build system, but a 'native' solution
would be preferable.
Just a thought.
Michael.
More information about the Lazarus
mailing list