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

TDependency

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

Represents a build dependency in the fpmake system

Declaration

Source position: fpmkunit.pp line 601

type TDependency = class(TConditionalString)

public

  constructor Create(); override;

  

Creates a new package dependency instance

  procedure Assign(); override;

  

Assigns properties from another dependency object

  destructor Destroy; override;

  

Destroys the dependency object and releases resources

  property Target: TObject; [rw]

  

Target name that this dependency references

  property DependencyType: TDependencyType; [r]

  

Type of dependency relationship

  property TargetFileName: string; [rw]

  

Specific filename for the dependency target

  property Version: string; [rw]

  

Version requirement for the dependency

  property RequireChecksum: Cardinal; [rw]

  

Controls checksum verification for the dependency

end;

Inheritance

TDependency

  

Represents a build dependency in the fpmake system

|

TConditionalString

  

String value with CPU and OS conditions

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

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

TDependencies

  

Collection of build dependencies

TDependencyType

  

Types of dependencies supported by the build system

TConditionalString

  

String value with CPU and OS conditions

TPackage

  

Central class for package management and building

TTarget

  

Build target representation in the fpmake system


Documentation generated on: Dec 15 2025