mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:12:25 +02:00
IDE: compiler options: immediate invalidate when changing paths
git-svn-id: trunk@14426 -
This commit is contained in:
parent
8d42e3ebab
commit
b0e8ed453a
@ -339,9 +339,9 @@ begin
|
|||||||
GetCompilerOptions(nil);
|
GetCompilerOptions(nil);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------}
|
{------------------------------------------------------------------------------
|
||||||
{ TfrmCompilerOptions ButtonOKClicked }
|
TfrmCompilerOptions ButtonOKClicked
|
||||||
{------------------------------------------------------------------------------}
|
------------------------------------------------------------------------------}
|
||||||
procedure TfrmCompilerOptions.ButtonOKClicked(Sender: TObject);
|
procedure TfrmCompilerOptions.ButtonOKClicked(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
// Accept any changes
|
// Accept any changes
|
||||||
|
@ -1598,6 +1598,7 @@ begin
|
|||||||
FAutoCreateForms := true;
|
FAutoCreateForms := true;
|
||||||
FBookmarks := TProjectBookmarkList.Create;
|
FBookmarks := TProjectBookmarkList.Create;
|
||||||
CompilerOptions := TProjectCompilerOptions.Create(Self);
|
CompilerOptions := TProjectCompilerOptions.Create(Self);
|
||||||
|
CompilerOptions.ParsedOpts.InvalidateParseOnChange:=true;
|
||||||
FDefineTemplates:=TProjectDefineTemplates.Create(Self);
|
FDefineTemplates:=TProjectDefineTemplates.Create(Self);
|
||||||
FFlags:=DefaultProjectFlags;
|
FFlags:=DefaultProjectFlags;
|
||||||
fIconPath := '';
|
fIconPath := '';
|
||||||
|
@ -2377,6 +2377,7 @@ begin
|
|||||||
FMacros.MarkUnhandledMacros:=false;
|
FMacros.MarkUnhandledMacros:=false;
|
||||||
FMacros.OnSubstitution:=@OnMacroListSubstitution;
|
FMacros.OnSubstitution:=@OnMacroListSubstitution;
|
||||||
FCompilerOptions:=TPkgCompilerOptions.Create(Self);
|
FCompilerOptions:=TPkgCompilerOptions.Create(Self);
|
||||||
|
FCompilerOptions.ParsedOpts.InvalidateParseOnChange:=true;
|
||||||
FCompilerOptions.ParsedOpts.OnLocalSubstitute:=@SubstitutePkgMacro;
|
FCompilerOptions.ParsedOpts.OnLocalSubstitute:=@SubstitutePkgMacro;
|
||||||
FCompilerOptions.ParsedOpts.GetWritableOutputDirectory:=
|
FCompilerOptions.ParsedOpts.GetWritableOutputDirectory:=
|
||||||
@GetWritableOutputDirectory;
|
@GetWritableOutputDirectory;
|
||||||
|
Loading…
Reference in New Issue
Block a user