mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-24 16:48:26 +02:00
LazBuild: Formatting.
git-svn-id: trunk@55750 -
This commit is contained in:
parent
3f90365ff2
commit
b56debdb32
@ -795,8 +795,7 @@ var
|
|||||||
CompilePolicy:=pupAsNeeded;
|
CompilePolicy:=pupAsNeeded;
|
||||||
if BuildRecursive and BuildAll then
|
if BuildRecursive and BuildAll then
|
||||||
CompilePolicy:=pupOnRebuildingAll;
|
CompilePolicy:=pupOnRebuildingAll;
|
||||||
if PackageGraph.CompileRequiredPackages(nil,
|
if PackageGraph.CompileRequiredPackages(nil,Project1.FirstRequiredDependency,
|
||||||
Project1.FirstRequiredDependency,
|
|
||||||
not (pfUseDesignTimePackages in Project1.Flags),
|
not (pfUseDesignTimePackages in Project1.Flags),
|
||||||
CompilePolicy)<>mrOk
|
CompilePolicy)<>mrOk
|
||||||
then
|
then
|
||||||
@ -869,8 +868,7 @@ var
|
|||||||
// write state file to avoid building clean every time
|
// write state file to avoid building clean every time
|
||||||
if Project1.SaveStateFile(CompilerFilename,CompilerParams,false)<>mrOk then
|
if Project1.SaveStateFile(CompilerFilename,CompilerParams,false)<>mrOk then
|
||||||
Error(ErrorBuildFailed,'failed saving statefile of project '+AFilename);
|
Error(ErrorBuildFailed,'failed saving statefile of project '+AFilename);
|
||||||
if TheCompiler.Compile(Project1,
|
if TheCompiler.Compile(Project1,WorkingDir,CompilerFilename,CompilerParams,
|
||||||
WorkingDir,CompilerFilename,CompilerParams,
|
|
||||||
BuildAll or NeedBuildAllFlag,false,false,false,
|
BuildAll or NeedBuildAllFlag,false,false,false,
|
||||||
CompileHint)<>mrOk
|
CompileHint)<>mrOk
|
||||||
then
|
then
|
||||||
@ -881,8 +879,7 @@ var
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// execute compilation tool 'After'
|
// execute compilation tool 'After'
|
||||||
ToolAfter:=TProjectCompilationToolOptions(
|
ToolAfter:=TProjectCompilationToolOptions(Project1.CompilerOptions.ExecuteAfter);
|
||||||
Project1.CompilerOptions.ExecuteAfter);
|
|
||||||
if (CompReason in ToolAfter.CompileReasons) then begin
|
if (CompReason in ToolAfter.CompileReasons) then begin
|
||||||
if ToolAfter.Execute(Project1.Directory,
|
if ToolAfter.Execute(Project1.Directory,
|
||||||
lisProject2+lisExecutingCommandAfter,CompileHint)<>mrOk
|
lisProject2+lisExecutingCommandAfter,CompileHint)<>mrOk
|
||||||
|
Loading…
Reference in New Issue
Block a user