Sign in Join
FPDoc Onlineexperiment

TBuildEngine.TargetInstallOK function deprecated

Member of TBuildEnginepublicIn unit fpMkUnit

Checks if target can be installed on platform

Declaration

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

Arguments

ATarget

Target to check for installation

ACPU

Target CPU architecture

AOS

Target operating system

aSubTarget

Subtarget to check for installation

aCompileTarget

Compile target to check for installation

Function result

True if target can be installed

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.