mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:19:36 +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);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TfrmCompilerOptions ButtonOKClicked }
|
||||
{------------------------------------------------------------------------------}
|
||||
{------------------------------------------------------------------------------
|
||||
TfrmCompilerOptions ButtonOKClicked
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TfrmCompilerOptions.ButtonOKClicked(Sender: TObject);
|
||||
begin
|
||||
// Accept any changes
|
||||
|
@ -1598,6 +1598,7 @@ begin
|
||||
FAutoCreateForms := true;
|
||||
FBookmarks := TProjectBookmarkList.Create;
|
||||
CompilerOptions := TProjectCompilerOptions.Create(Self);
|
||||
CompilerOptions.ParsedOpts.InvalidateParseOnChange:=true;
|
||||
FDefineTemplates:=TProjectDefineTemplates.Create(Self);
|
||||
FFlags:=DefaultProjectFlags;
|
||||
fIconPath := '';
|
||||
|
@ -2377,6 +2377,7 @@ begin
|
||||
FMacros.MarkUnhandledMacros:=false;
|
||||
FMacros.OnSubstitution:=@OnMacroListSubstitution;
|
||||
FCompilerOptions:=TPkgCompilerOptions.Create(Self);
|
||||
FCompilerOptions.ParsedOpts.InvalidateParseOnChange:=true;
|
||||
FCompilerOptions.ParsedOpts.OnLocalSubstitute:=@SubstitutePkgMacro;
|
||||
FCompilerOptions.ParsedOpts.GetWritableOutputDirectory:=
|
||||
@GetWritableOutputDirectory;
|
||||
|
Loading…
Reference in New Issue
Block a user