mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 15:19:16 +02:00
IDE: quick compile: do not save complete-flag, bug #26659
git-svn-id: trunk@46097 -
This commit is contained in:
parent
5bc5c42c07
commit
afeb291987
@ -6476,6 +6476,7 @@ var
|
||||
FPCVersion, FPCRelease, FPCPatch: integer;
|
||||
aCompileHint: String;
|
||||
OldToolStatus: TIDEToolStatus;
|
||||
IsComplete: Boolean;
|
||||
begin
|
||||
Result:=SourceFileMgr.PrepareForCompileWithMsg;
|
||||
if Result<>mrOk then begin
|
||||
@ -6708,7 +6709,8 @@ begin
|
||||
exit;
|
||||
end;
|
||||
// compilation succeded -> write state file
|
||||
Result:=Project1.SaveStateFile(CompilerFilename,CompilerParams,true);
|
||||
IsComplete:=[pbfSkipLinking,pbfSkipAssembler,pbfSkipTools]*Flags=[];
|
||||
Result:=Project1.SaveStateFile(CompilerFilename,CompilerParams,IsComplete);
|
||||
if Result<>mrOk then begin
|
||||
debugln(['TMainIDE.DoBuildProject SaveStateFile after compile failed']);
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user