Skip to content

TBuildEngine.TargetInstallOK

Checks if target can be installed on platform

Declaration

Source position: fpmkunit.pp line 1454

public 
function TargetInstallOK(ATarget: TTarget; ACPU: TCpu; AOS: TOS; 
                        const aSubTarget: string) : Boolean;

function TargetInstallOK(ATarget: TTarget; 
                        const aCompileTarget: TCompileTarget) : Boolean;

Description

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.