[Lazarus] Run-time packages create a register unit

ik idokan at gmail.com
Thu Dec 22 15:24:07 CET 2011


2011/12/22 <michael.vancanneyt at wisa.be>

>
>
> On Thu, 22 Dec 2011, Mattias Gaertner wrote:
>
>
>>
>>
>>
>> ik <idokan at gmail.com> hat am 22. Dezember 2011 um 11:04 geschrieben:
>>
>>
>>
>>> Hello,
>>>
>>> I'm creating a run-time package, but it seems that Lazarus also create a
>>> register unit with the package itself.
>>> Why is that, if I do not wish to register components, but only add units
>>> to
>>> path, and how can I avoid it ?
>>>
>>
>> A package has a main source file, which is used to compile all units of a
>> package.
>> Since 0.9.31 you can change the name of the main source.
>>
>
> Out of curiosity:
>
> Does the package system check that for a run-time package, none of the
> units
> is flagged as a 'Has register procedure' ?
>

Nop:
https://github.com/ik5/libnotify-fpc/blob/master/packages/libnotify_pkg.lpk


>
> Michael.
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111222/9eeb37a1/attachment-0003.html>


More information about the Lazarus mailing list