TBuildEngine.TargetOK¶
Checks if target is valid for platform
Declaration¶
Source position: fpmkunit.pp line 1453
public
function TargetOK(ATarget: TTarget; ACPU: TCpu; AOS: TOS;
const aSubTarget: string) : Boolean;
function TargetOK(ATarget: TTarget;
const aCompileTarget: TCompileTarget) : Boolean;
Description¶
Determines whether the specified target is valid for the current platform configuration.
This check considers the target's CPU and OS restrictions to determine if it should be built on the current system.