Sign in Join
FPDoc Onlineexperiment

TPackageVariant class

In unit fpMkUnit

Package variant with specific build options

Declaration

pascal
TPackageVariant = class(TNamedItem)

Inheritance

  1. TPackageVariant
  2. TNamedItem
  3. TCollectionItem
  4. TPersistent
  5. TObject

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.

Properties

OptionspublicCompiler options for this variant
IncludePathpublicInclude file search paths for this variant
SourcePathpublicSource file search paths for this variant
TargetspublicBuild targets associated with this variant

Methods

CreatepublicCreates a new package variant configuration
DestroypublicDestroys package variant and frees resources
AddOptionpublicAdds a compiler option to the package variant

Inherited

From TNamedItem (1)

Name

From TCollectionItem (11)

Changed Collection DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.