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

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Apr 17 14:19:42 CEST 2013


On Wed, 17 Apr 2013 14:09:28 +0300
patspiper <patspiper at gmail.com> wrote:

> On 16/04/13 18:25, Mattias Gaertner wrote:
> > On Tue, 16 Apr 2013 16:38:05 +0300
> > patspiper <patspiper at gmail.com> wrote:
> >
> >> [...]
> >>> Yes, because the above are directly effected by your changes.
> >>> The purpose of this dialog is to find the cause of unneeded
> >>> compilations. So I have not implemented the indirect tests. It's an
> >>> IDE internal.
> >> Any chance of it appearing on your todo list? :)
> >> It could help diagnosing package issues.
> It is always good to know the exact reason why a package (or a 
> unit/units belonging to a package) was or was not compiled.

The dialog only shows what *will* be compiled, not why it *was*
compiled.
You can see in the stdout log, why something was compiled.

> This relates 
> mostly to user packages sharing the same folder thus forcing unnecessary 
> units recompilation, include files not listed explicitly in packages and 
> thus not causing automatic recompilation, etc...

What has this to do with inherited compilation needs?
Maybe you want a best practices analyzer for projects/packages?

Mattias




More information about the Lazarus mailing list