Sign in Join
FPDoc Onlineexperiment

TTarget.SubTargetAllowed function

Member of TTargetpublicIn unit fpMkUnit

Checks if a subtarget is allowed for this target

Declaration

pascal
function SubTargetAllowed(const aSubTarget: string): Boolean

Arguments

aSubTarget

Subtarget name to check

Function result

True if subtarget is allowed, False otherwise

Description

Returns True if the specified subtarget name is allowed for this target type.

Different target types support different subtargets (e.g., units vs programs).

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