[Lazarus] All units always being recompiled
nc-gaertnma at netcologne.de
Thu Mar 6 12:57:48 CET 2008
On Thu, 6 Mar 2008 13:19:12 +0200
"Graeme Geldenhuys" <graemeg.lists at gmail.com> wrote:
> On 06/03/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> > > Is there such a option for packages as well? I many times I
> > > changes things in include files and clicking Compile on a
> > > package doesn't detect the change. I have to always remember to
> > > click 'More | Recompile clean' which is a bit annoying.
> > Did you add the include files to the package?
> No. Am I supposed to? Some of these packages have been around for
> two years, so don't know if that's a new feature of Lazarus?
The IDE checks if any of the files of the package are newer than
the .compiled file and if yes, it starts the compiler.
So, if the include file is not in the package, the IDE assumes, that
nothing relevant has changed and will not auto compile your package.
That's a pretty old feature.
More information about the Lazarus