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

TBuildEngine.TargetOK

Checks if target is valid for platform

Declaration

Source position: fpmkunit.pp line 1438

public function TBuildEngine.TargetOK(

  ATarget: TTarget;

  ACPU: TCpu;

  AOS: TOS;

  const aSubTarget: string

):Boolean;

function TBuildEngine.TargetOK(

  ATarget: TTarget;

  const aCompileTarget: TCompileTarget

):Boolean;

Arguments

ATarget

  

Target to check

ACPU

  

Target CPU architecture

AOS

  

Target operating system

aSubTarget

  

Subtarget to check

Function result

True if target is valid

Arguments

ATarget

  

Target to check

aCompileTarget

  

Compile target to check

Description

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.


Documentation generated on: Dec 15 2025