Skip to content

TTargetState

Build target state during compilation

Declaration

Source position: fpmkunit.pp line 184

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

Values

Value Description
tsNeutral Neutral state, not yet processed
tsConsidering Being considered for compilation
tsNoCompile Should not be compiled
tsCompiled Successfully compiled
tsInstalled Successfully installed
tsNotFound Target file not found

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.