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

TPackage.SubTargetAllowed

Checks if a subtarget is allowed for the package

Declaration

Source position: fpmkunit.pp line 1063

public function TPackage.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.


Documentation generated on: Dec 15 2025