Checks if target is valid for platform
Source position: fpmkunit.pp line 1438
public function TBuildEngine.TargetOK( |
ATarget: TTarget; |
ACPU: TCpu; |
AOS: TOS; |
const aSubTarget: string |
):Boolean; |
ATarget: TTarget; |
const aCompileTarget: TCompileTarget |
):Boolean; |
ATarget |
|
Target to check |
ACPU |
|
Target CPU architecture |
AOS |
|
Target operating system |
aSubTarget |
|
Subtarget to check |
True if target is valid
ATarget |
|
Target to check |
aCompileTarget |
|
Compile target to check |
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.