TBuildEngine.NeedsCompile function
Checks if target needs compilation
Declaration
function NeedsCompile(APackage: TPackage; ATarget: TTarget): Boolean
function NeedsCompile(APackage: TPackage): Boolean; virtualArguments
APackage | Package containing the target |
ATarget | Target to check for compilation need |
Function result
True if target needs compilation
Description
Determines whether the specified target needs to be compiled by checking timestamps, dependencies, and build requirements.
Returns True if the target's output files are missing, out of date,
or if dependencies have changed.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
