Skip to content

TPackageVariants.Add

Adds a new package variant to the collection

Declaration

Source position: fpmkunit.pp line 672

public 
function TPackageVariants.Add(AName: string) : TPackageVariant;  virtual
                             ;  overload; overload;

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.