<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body>
<p style="margin: 0pt;"><span><span></span></span></p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>Reinier Olislagers <reinierolislagers@gmail.com> hat am 23. April 2012 um 13:19 geschrieben:
<br/>
<br/>> On 23-4-2012 12:49, Mattias Gaertner wrote:
<br/>> > Reinier Olislagers <reinierolislagers@gmail.com> hat am 23. April 2012
<br/>> > um 11:45 geschrieben:
<br/>> >> Perhaps this functionality could better be placed in lazbuild so others
<br/>> >> using e.g. batch files can use it as well, making possible something like
<br/>> >> lazbuild --build-ide= --addpackage <somepackage.lpk>
<br/>> >> or perhaps only
<br/>> >> lazbuild --addpackage <somepackage.lpk>
<br/>> >> (with or without --primary-config-path)
<br/>> >> to compile the package and add it to the package list.
<br/>>
<br/>> Thanks Mattias,
<br/>>
<br/>> Hope I'm not displaying too much ignorance here, but here goes:
<br/>>
<br/>> > 1. the syntax for long options is
<br/>> >
<br/>> > --paramname=<value>
<br/>> Got it.
<br/>>
<br/>> > 2. addpackage makes sense for projects too, so lazbuild without
<br/>> > --build-ide is ambiguous.
<br/>> Do you mean adding a package based on the project you're compiling with
<br/>> lazbuild?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Yes. You don't need to implement this now. Just keep this in mind that it might eventually be added. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>> > 3. Both should be possible:
<br/>> >
<br/>> > --addpackage=<pkgname>
<br/>> ... so this would just add an already compiled package to the list of
<br/>> packages to be installed, right?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">No. If the package was not compiled lazbuild compiles it. </p>
<p style="margin: 0px;">A package name is enough. The lpi only contains names too. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
> >
<br/>> > and
<br/>> >
<br/>> > --addpackage=<path/pkgname.lpk>
<br/>> ... which would compile the package, then add it to the list, yes?
</div>
<div>
</div>
<div>
No. lazbuild compiles packages as needed. Unless you add the -B and -r option.
</div>
<div>
</div>
<div>
Mattias
</div>
<div>
</div>
</body></html>