mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 05:07:56 +02:00
IDE: external tools: increased pip buffer, issue #18492
git-svn-id: trunk@46322 -
This commit is contained in:
parent
915c183fdc
commit
804ba9b391
@ -1582,6 +1582,7 @@ begin
|
||||
DebuglnThreadLog(['TExternalToolThread.Execute ',Title,' execute ...']);
|
||||
{$ENDIF}
|
||||
// now execute
|
||||
Tool.Process.PipeBufferSize:=Max(Tool.Process.PipeBufferSize,64*1024);
|
||||
Tool.Process.Execute;
|
||||
{$IFDEF VerboseExtToolThread}
|
||||
DebuglnThreadLog(['TExternalToolThread.Execute ',Title,' executing ...']);
|
||||
|
@ -73,5 +73,10 @@
|
||||
<OtherUnitFiles Value="../designer;../packager;../debugger"/>
|
||||
<UnitOutputDirectory Value="../units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
|
||||
</SearchPaths>
|
||||
<Other>
|
||||
<Verbosity>
|
||||
<ShowAll Value="True"/>
|
||||
</Verbosity>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
||||
|
@ -6464,6 +6464,7 @@ var
|
||||
aCompileHint: String;
|
||||
OldToolStatus: TIDEToolStatus;
|
||||
IsComplete: Boolean;
|
||||
StartTime: TDateTime;
|
||||
begin
|
||||
Result:=SourceFileMgr.PrepareForCompileWithMsg;
|
||||
if Result<>mrOk then begin
|
||||
@ -6682,11 +6683,14 @@ begin
|
||||
exit;
|
||||
end;
|
||||
|
||||
StartTime:=Now;
|
||||
Result:=TheCompiler.Compile(Project1,
|
||||
WorkingDir,CompilerFilename,CompilerParams,
|
||||
(pbfCleanCompile in Flags) or NeedBuildAllFlag,
|
||||
pbfSkipLinking in Flags,
|
||||
pbfSkipAssembler in Flags,aCompileHint);
|
||||
if ConsoleVerbosity>=0 then
|
||||
debugln(['TMainIDE.DoBuildProject compiler time in s: ',(Now-StartTime)*86400]);
|
||||
if Result<>mrOk then begin
|
||||
// save state, so that next time the project is not compiled clean
|
||||
Project1.LastCompilerFilename:=CompilerFilename;
|
||||
|
Loading…
Reference in New Issue
Block a user