On Sun, 6 Nov 2016 11:59:44 +0100 (CET)
Michael Van Canneyt via Lazarus <lazarus@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
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to