Sign in Join
FPDoc Onlineexperiment

TTargetState enumeration

In unit fpMkUnit

Build target state during compilation

Declaration

pascal
TTargetState = (tsNeutral,tsConsidering,tsNoCompile,tsCompiled,
 tsInstalled,tsNotFound)

Description

TTargetState is an enumeration type that tracks the current state of a build target during the compilation process. Used to prevent duplicate processing and ensure correct build order dependencies. It has the following values:

tsNeutral
indicates that a build target has not yet been processed or evaluated for compilation. This is the initial state of targets before build operations begin.
tsConsidering
indicates that a build target is currently being evaluated for compilation. This intermediate state prevents infinite recursion during dependency analysis.
tsNoCompile
indicates that a build target should be excluded from compilation. This state is used for targets that are not applicable to the current build configuration or platform.
tsCompiled
indicates that a build target has been successfully compiled. Targets in this state have completed the compilation phase and are ready for installation or further processing.
tsInstalled
indicates that a build target has been successfully installed to its destination location. This represents the final successful state in the build and installation process.
tsNotFound
indicates that the source file for a build target could not be located. This error state prevents compilation and signals missing or incorrectly specified source files.

Values

tsNeutralNeutral state, not yet processed
tsConsideringBeing considered for compilation
tsNoCompileShould not be compiled
tsCompiledSuccessfully compiled
tsInstalledSuccessfully installed
tsNotFoundTarget file not found

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