[Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 23 12:49:45 CEST 2012


Reinier Olislagers <reinierolislagers at gmail.com> hat am 23. April 2012 um 11:45
geschrieben:

> Hi list,
>
> At the moment, the fpcup tool can compile packages using lazbuild. It
> would be very nice if the compiled package could be added to the list of
> packages to be installed on IDE recompile.
>
> Perhaps this functionality could better be placed in lazbuild so others
> using e.g. batch files can use it as well, making possible something like
> lazbuild --build-ide= --addpackage <somepackage.lpk>
> or perhaps only
> lazbuild --addpackage <somepackage.lpk>
> (with or without --primary-config-path)
> to compile the package and add it to the package list.


1. the syntax for long options is
--paramname=<value>

2. addpackage makes sense for projects too, so lazbuild without --build-ide is
ambiguous.

3. Both should be possible:
--addpackage=<pkgname>
and
--addpackage=<path/pkgname.lpk>


>
> Would this be a good idea to implement?
>

yes

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120423/f57b05cb/attachment-0003.html>


More information about the Lazarus mailing list