mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 00:40:18 +02:00
IDE: build ide: if building fails, clear flag clean up once
git-svn-id: trunk@37118 -
This commit is contained in:
parent
44b12851fb
commit
147aa605ec
@ -397,8 +397,12 @@ begin
|
||||
Tool.CmdLineParams:=Tool.CmdLineParams+CmdLineParams;
|
||||
// run
|
||||
Result:=ExternalTools.Run(Tool,Macros,false);
|
||||
if Result<>mrOk then exit;
|
||||
// clean only once. If building failed the user must first fix the error
|
||||
// before a clean build is needed.
|
||||
ApplyCleanOnce;
|
||||
if Result<>mrOk then begin
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
Result:=mrOk;
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user