mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 17:40:22 +02:00
IDE: unset pfUseDefaultCompilerOptions
git-svn-id: trunk@26995 -
This commit is contained in:
parent
9990d3eff6
commit
0f73b1c59f
@ -9604,8 +9604,10 @@ begin
|
||||
Project1.BeginUpdate(true);
|
||||
try
|
||||
Project1.CompilerOptions.CompilerPath:='$(CompPath)';
|
||||
if pfUseDefaultCompilerOptions in Project1.Flags then
|
||||
if pfUseDefaultCompilerOptions in Project1.Flags then begin
|
||||
DoLoadDefaultCompilerOptions(Project1);
|
||||
Project1.Flags:=Project1.Flags-[pfUseDefaultCompilerOptions];
|
||||
end;
|
||||
Project1.AutoAddOutputDirToIncPath;
|
||||
UpdateCaption;
|
||||
if ProjInspector<>nil then ProjInspector.LazProject:=Project1;
|
||||
|
@ -2923,6 +2923,7 @@ var
|
||||
SetFlag(pfRunnable,
|
||||
OldProjectType in [ptProgram,ptApplication,ptCustomProgram]);
|
||||
end;
|
||||
FFlags:=FFlags-[pfUseDefaultCompilerOptions];
|
||||
end;
|
||||
|
||||
procedure LoadSessionInfo(XMLConfig: TXMLConfig; const Path: string;
|
||||
|
Loading…
Reference in New Issue
Block a user