Skip to content

TTarget.SubTargetAllowed

Checks if a subtarget is allowed for this target

Declaration

Source position: fpmkunit.pp line 782

public 
function TTarget.SubTargetAllowed(const aSubTarget: string) : Boolean;

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).