[Lazarus] Build project now rebuilds everithing

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 26 10:46:00 CET 2011


On Sat, 26 Nov 2011 11:26:40 +0200
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> 2011/11/26 cobines <cobines at gmail.com>
> 
> > W dniu 2011-11-06 19:08, cobines pisze:
> >
> >  However, weird thing. If I choose Build from menu then it doesn't seem
> >> to rebuild FCL, LCL, but if I start Build from a hotkey then it does.
> >>
> >
> > The call from menu item is:
> >
> > procedure TMainIDE.**mnuBuildProjectClicked(Sender: TObject);
> > Begin
> >  DoBuildProject(crBuild,[**pbfCleanCompile]);
> > end;
> >
> > but from hotkey the call is:
> >
> >  ecBuild: DoBuildProject(crBuild, [pbfCleanCompile,
> > pbfCompileDependenciesClean]);
> >
> > So, there is a difference. Which should it be? Since it seems to always
> > rebuild packages when I use the hotkey I would think that [pbfCleanCompile]
> > is correct.
> 
> 
> Indeed there is a difference. I should have checked it properly.
> Is it ok to remove "pbfCompileDependenciesClean" from the hotkey handler?

Yes.

Mattias




More information about the Lazarus mailing list