[Lazarus] Lazarus Version

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 8 12:45:39 CET 2016


On Sun, 6 Nov 2016 11:59:44 +0100 (CET)
Michael Van Canneyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> 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.

AFAIK most users asked for the version at compile time. So it must be
either a define or some consts in an unit like lclversion does.
The defines would create many ugly FPC parameters, fpmake can't
create them.
The 'version unit' is compatible with all build systems and works at
runtime too. It is not supported by codetools yet though. Maybe the IDE
can automatically update/create such version units.


Mattias


More information about the Lazarus mailing list