[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:17:48 CEST 2013


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?

Thanks,
Stephano




More information about the Lazarus mailing list