projectgroups: keep lazbuild msg urgencies

This commit is contained in:
mattias 2022-04-19 21:10:41 +02:00
parent 38080d1dd1
commit fc95ede0b6

View File

@ -1541,9 +1541,10 @@ begin
Tool.Process.Executable:=LazBuildFilename;
Tool.Process.Parameters:=Params;
Tool.Process.CurrentDirectory:=WorkingDir;
FPCParser:=TFPCParser(Tool.AddParsers(SubToolFPC));
FPCParser:=Tool.AddParsers(SubToolFPC) as TFPCParser;
FPCParser.HideHintsSenderNotUsed:=true; //not AProject.CompilerOptions.ShowHintsForSenderNotUsed;
FPCParser.HideHintsUnitNotUsedInMainSource:=true; //not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc;
FPCParser.UseTranslationUrgency:=false;
//if (not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc)
//and (AProject.MainFilename<>'') then
// FPCParser.FilesToIgnoreUnitNotUsed.Add(AProject.MainFilename);