lazbuild: fixed compile an ide when clean all is set

This commit is contained in:
mattias 2022-12-01 23:48:25 +01:00
parent 4022919f1a
commit c9c3d54bf2

View File

@ -393,8 +393,20 @@ var
end;
function Run(CurTitle: string): TModalResult;
var
Cmds: TStrings;
begin
AddCmdLineParam(Cmd,false);
if Pos(' ',Cmd)>0 then
begin
Cmds:=TStringList.Create;
try
SplitCmdLineParams(Cmd,Cmds);
CmdLineParams.AddStrings(Cmds);
finally
Cmds.Free;
end;
end else
CmdLineParams.Add(Cmd);
Tool:=ExternalToolList.Add(CurTitle);
Tool.Reference(Self,ClassName);
try