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

TPackageVariants.Add

Adds a new package variant to the collection

Declaration

Source position: fpmkunit.pp line 668

public function TPackageVariants.Add(

  AName: string

):TPackageVariant; virtual; overload;

Arguments

AName

  

Name for the new package variant

Function result

Newly created package variant

Description

Creates and adds a new TPackageVariant to the collection. The new variant is initialized with default settings and can then be configured with specific build options and targets.


Documentation generated on: Dec 15 2025