IDE: compiler options: immediate invalidate when changing paths

git-svn-id: trunk@14426 -
This commit is contained in:
mattias 2008-03-05 12:33:35 +00:00
parent 8d42e3ebab
commit b0e8ed453a
3 changed files with 5 additions and 3 deletions

View File

@ -339,9 +339,9 @@ begin
GetCompilerOptions(nil);
end;
{------------------------------------------------------------------------------}
{ TfrmCompilerOptions ButtonOKClicked }
{------------------------------------------------------------------------------}
{------------------------------------------------------------------------------
TfrmCompilerOptions ButtonOKClicked
------------------------------------------------------------------------------}
procedure TfrmCompilerOptions.ButtonOKClicked(Sender: TObject);
begin
// Accept any changes

View File

@ -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 := '';

View File

@ -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;