Sign in Join
FPDoc Onlineexperiment

TDependency class

In unit fpMkUnit

Represents a build dependency in the fpmake system

Declaration

pascal
TDependency = class(TConditionalString)

Inheritance

  1. TDependency
  2. TConditionalString
  3. TCollectionItem
  4. TPersistent
  5. TObject

Description

TDependency represents a dependency relationship between build targets or packages. Dependencies can be on other packages, individual units, include files, or specific targets.

The dependency system ensures that required components are built before dependent targets, manages version requirements, and handles conditional dependencies based on CPU and OS targets.

Dependencies support version checking through the Version property and can be conditional on specific CPU architectures and operating systems inherited from TConditionalString.

See also

Properties

TargetpublicTarget name that this dependency references
DependencyTypepublicType of dependency relationship
TargetFileNamepublicSpecific filename for the dependency target
VersionpublicVersion requirement for the dependency
RequireChecksumpublicControls checksum verification for the dependency

Methods

CreatepublicCreates a new package dependency instance
AssignpublicAssigns properties from another dependency object
DestroypublicDestroys the dependency object and releases resources

Inherited

From TConditionalString (4)

CPUs Match OSes Value

From TCollectionItem (11)

Changed Collection DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (5)

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.