Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBuildEngine.TargetInstallOK

Checks if target can be installed on platform

Declaration

Source position: fpmkunit.pp line 1439

public function TBuildEngine.TargetInstallOK(

  ATarget: TTarget;

  ACPU: TCpu;

  AOS: TOS;

  const aSubTarget: string

):Boolean;

function TBuildEngine.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

Function result

True if target can be installed

Arguments

ATarget

  

Target to check for installation

aCompileTarget

  

Compile target to check for installation

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.


Documentation generated on: Dec 15 2025