Sign in Join
FPDoc Onlineexperiment

TPackage.SubTargetAllowed function

Member of TPackagepublicIn unit fpMkUnit

Checks if a subtarget is allowed for the package

Declaration

pascal
function SubTargetAllowed(const aSubTarget: string): Boolean

Arguments

aSubTarget

Subtarget to check for availability

Function result

Whether the subtarget is allowed

Description

Returns True if the specified subtarget is allowed for this package based on current configuration and constraints. This is used to validate subtarget availability before attempting to build.

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