Skip to content

TPackage.SubTargetAllowed

Checks if a subtarget is allowed for the package

Declaration

Source position: fpmkunit.pp line 1069

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

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.