Compiles target if compilation is needed
Source position: fpmkunit.pp line 1445
public procedure TBuildEngine.MaybeCompile( |
APackage: TPackage; |
ATarget: TTarget |
); |
APackage: TPackage |
); |
APackage |
|
Package containing the target |
ATarget |
|
Target to potentially compile |
APackage |
|
Package containing the target |
Conditionally compiles the target only if compilation is required based on dependency analysis and timestamp checks.
This method first calls NeedsCompile and only performs compilation if necessary.