[Lazarus] Runtime package (manual compilation only) forced to re-compile by a design time dependant package?

patspiper patspiper at gmail.com
Sat Apr 13 21:27:11 CEST 2013


On 13/04/13 22:17, patspiper wrote:
> On 13/04/13 21:27, patspiper wrote:
>> On 13/04/13 21:05, Mattias Gaertner wrote:
>>> On Sat, 13 Apr 2013 20:59:13 +0300
>>> patspiper <patspiper at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Why is a runtime package (manual compilation only) forced to 
>>>> re-compile
>>>> by a design time dependant package when the dependant package is 
>>>> compiled?
>>> A "manual compilation only" is never recompiled automatically, unless
>>> you spotted a bug.
>>> You can see why a package will be recompiled in View / IDE Internals/
>>> What needs building.
>> In what needs building (with the design package selected), the 
>> runtime package is marked as No build needed. Nevertheless, compiling 
>> the design time package tries to compile the runtime units.
> It turned out that the design time package had a other units path that 
> included one unit of the runtime package. I know this is a bad 
> practice, but does it fully explain the observed behaviour?
I realise now why they shared the same path, but I am not sure if this 
is right or wrong. The registration unit of the design time package is 
in the same folder with the runtime units. Should it be placed in a 
separate folder?

Stephano




More information about the Lazarus mailing list