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

TPackage

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

Declaration

Source position: fpmkunit.pp line 841

type TPackage = class(TNamedItem)

protected

  procedure SetName(); override;

  procedure SaveUnitConfigToStringList(); virtual;

  property Dictionary: TDictionary; [r]

  property PackageVariantsList: TFPList; [r]

public

  constructor Create(); override;

  destructor destroy; override;

  function HaveOptions;

  function GetUnitsOutputDir();

  function GetUnitConfigOutputFilename();

  procedure InheritPackageVariantsFromDependency();

  function GetPackageVariantsByName();

  procedure SetUnitsOutputDir();

  function GetPackageUnitInstallDir();

  procedure SetPackageUnitInstallDir();

  function GetBinOutputDir();

  procedure GetCleanFiles(); virtual;

  procedure GetInstallFiles(); virtual;

  procedure GetInstallSourceFiles(); virtual;

  procedure GetArchiveFiles(); virtual;

  procedure GetArchiveSourceFiles(); virtual;

  procedure GetManifest();

  procedure ListPackage();

  procedure AddPackageVariant();

  procedure ApplyPackageVariantToCompilerOptions();

  procedure SetDefaultPackageVariant;

  procedure LoadUnitConfigFromFile();

  procedure SaveUnitConfigToFile();

  procedure EnterResolveDirsCS;

  procedure LeaveResolveDirsCS;

  property Version: string; [rw]

  property FileName: string; [rw]

  property ShortName: string; [rw]

  property HomepageURL: string; [rw]

  property DownloadURL: string; [rw]

  property Email: string; [rw]

  property Author: string; [rw]

  property License: string; [rw]

  property Directory: string; [rw]

  property Description: string; [rw]

  property DescriptionFile: string; [rw]

  property InstalledChecksum: Cardinal; [rw]

  property IsFPMakeAddIn: Boolean; [rw]

  property SupportBuildModes: TBuildModes; [rw]

  property BuildMode: TBuildMode; [r]

  property Flags: TStrings; [r]

  property PackageVersion: TFPVersion; [r]

  property TransmitOptions: TStrings; [rw]

  property OSes: TOSes; [rw]

  property CPUs: TCPUS; [rw]

  property NeedLibC: Boolean; [rw]

  property Options: TStrings; [rw]

  property UnitPath: TConditionalStrings; [r]

  property ObjectPath: TConditionalStrings; [r]

  property IncludePath: TConditionalStrings; [r]

  property SourcePath: TConditionalStrings; [r]

  property ExamplePath: TConditionalStrings; [r]

  property TestPath: TConditionalStrings; [r]

  property FPDocFormat: TFPDocFormats; [rw]

  property InstallFiles: TConditionalDestStrings; [r]

  property CleanFiles: TConditionalStrings; [r]

  property Dependencies: TDependencies; [r]

  property Commands: TCommands; [r]

  property State: TTargetState; [rw]

  property Targets: TTargets; [r]

  property Sources: TSources; [r]

  property UnitDir: string; [rw]

  property UnitConfigFileName: string; [rw]

  property BeforeCompile: TNotifyEvent; [rw]

  property BeforeCompileProc: TNotifyProcEvent; [rw]

  property AfterCompile: TNotifyEvent; [rw]

  property AfterCompileProc: TNotifyProcEvent; [rw]

  property BeforeInstall: TNotifyEvent; [rw]

  property BeforeInstallProc: TNotifyProcEvent; [rw]

  property AfterInstall: TNotifyEvent; [rw]

  property AfterInstallProc: TNotifyProcEvent; [rw]

  property BeforeClean: TNotifyEvent; [rw]

  property BeforeCleanProc: TNotifyProcEvent; [rw]

  property AfterClean: TNotifyEvent; [rw]

  property AfterCleanProc: TNotifyProcEvent; [rw]

  property BeforeArchive: TNotifyEvent; [rw]

  property BeforeArchiveProc: TNotifyProcEvent; [rw]

  property AfterArchive: TNotifyEvent; [rw]

  property AfterArchiveProc: TNotifyProcEvent; [rw]

  property BeforeManifest: TNotifyEvent; [rw]

  property BeforeManifestProc: TNotifyProcEvent; [rw]

  property AfterManifest: TNotifyEvent; [rw]

  property AfterManifestProc: TNotifyProcEvent; [rw]

  property BeforePkgList: TNotifyEvent; [rw]

  property BeforePkgListProc: TNotifyProcEvent; [rw]

  property AfterPkgList: TNotifyEvent; [rw]

  property AfterPkgListProc: TNotifyProcEvent; [rw]

end;

Inheritance

TPackage

|

TNamedItem

|

TObject


Documentation generated on: 2023-03-18