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

TPackageVariant

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Package variant with specific build options

Declaration

Source position: fpmkunit.pp line 628

type TPackageVariant = class(TNamedItem)

public

  constructor Create(); override;

  

Creates a new package variant configuration

  destructor Destroy; override;

  

Destroys package variant and frees resources

  procedure AddOption();

  

Adds a compiler option to the package variant

  property Options: TStrings; [r]

  

Compiler options for this variant

  property IncludePath: TConditionalStrings; [r]

  

Include file search paths for this variant

  property SourcePath: TConditionalStrings; [r]

  

Source file search paths for this variant

  property Targets: TTargets; [r]

  

Build targets associated with this variant

end;

Inheritance

TPackageVariant

  

Package variant with specific build options

|

TNamedItem

  

Base class for items with a name property

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

Description

TPackageVariant represents a specific configuration variant of a package with custom build options and settings. This class allows packages to define multiple build configurations with different compiler options, target platforms, or conditional compilation settings.


Documentation generated on: Dec 15 2025