Adds package variant to installer
Source position: fpmkunit.pp line 1540
public function TCustomInstaller.AddPackageVariant( |
AName: string; |
AIsInheritable: Boolean; |
AutoAddToPackage: Boolean = False |
AName |
|
Name of package variant to add |
AIsInheritable |
|
Whether package variant can be inherited |
AutoAddToPackage |
|
Whether to automatically add to package |
Added package variant instance
AddPackageVariant creates and adds a package variant that provides alternative build configurations. Package variants enable different compilation options, target platforms, or feature sets within the same package.
Variants can be inheritable, allowing derived packages to inherit variant settings, and can be automatically added to packages for convenient configuration management.