TDependencyType
Types of dependencies supported by the build system
Declaration
Source position: fpmkunit.pp line 199
type TDependencyType = ( |
depPackage, |
|
Dependency on another package |
depImplicitPackage, |
|
Implicit dependency on another package |
depUnit, |
|
Dependency on a specific unit |
depInclude |
|
Dependency on an include file |
); |
Description
TDependencyType specifies the different kinds of dependencies that can be declared in the fpmake build system. Each type affects how the dependency is resolved and processed.
- depPackage
- indicates a dependency on another complete package. This type ensures the referenced package is available and properly compiled before building the current package.
- depImplicitPackage
- indicates an automatic dependency on another package that is discovered through code analysis. These dependencies are typically detected automatically without explicit declaration.
- depUnit
- indicates a dependency on a specific Pascal unit. This type ensures the referenced unit is compiled and available before compiling units that use it.
- depInclude
- indicates a dependency on an include file (.inc, .pas files) that is incorporated into source code using the {$I} directive. Ensures include files are available during compilation.
See also