Checks if target can be installed on platform
Source position: fpmkunit.pp line 1439
public function TBuildEngine.TargetInstallOK( |
ATarget: TTarget; |
ACPU: TCpu; |
AOS: TOS; |
const aSubTarget: string |
):Boolean; |
ATarget: TTarget; |
const aCompileTarget: TCompileTarget |
):Boolean; |
ATarget |
|
Target to check for installation |
ACPU |
|
Target CPU architecture |
AOS |
|
Target operating system |
aSubTarget |
|
Subtarget to check for installation |
True if target can be installed
ATarget |
|
Target to check for installation |
aCompileTarget |
|
Compile target to check for installation |
TargetInstallOK determines whether a build target can be installed on the current platform and configuration. This function evaluates platform compatibility, dependency availability, and installation requirements.
The method returns True if the target is suitable for installation on the current system, or False if platform restrictions or missing dependencies prevent installation.