Sign in Join
FPDoc Onlineexperiment

TTargetType enumeration

In unit fpMkUnit

Classification of build target types

Declaration

pascal
TTargetType = (ttProgram,ttUnit,ttImplicitUnit,ttCleanOnlyUnit,
 ttExampleUnit,ttExampleProgram,ttFPDoc,ttSharedLibrary)

Description

TTargetType defines the different categories of build targets supported by the fpmake system:

ttProgram
represents a build target that produces an executable program file
ttUnit
represents a build target that produces a compiled Pascal unit. Unit targets generate .ppu files that can be used by other units and programs through the uses clause.
ttImplicitUnit
represents a unit target that is compiled automatically when needed by other targets, without being explicitly listed in the build process.
ttCleanOnlyUnit
represents a unit target that is only processed during clean operations to remove generated files. These units are not compiled during normal build processes but are included in cleanup operations.
ttExampleUnit
represents a unit target that serves as an example or demonstration. Example units are typically compiled separately from the main package and may have different installation rules.
ttExampleProgram
represents a program target that serves as an example or demonstration. Example programs showcase package functionality and are typically compiled separately from the main package components.
ttSharedLibrary
represents a build target that produces a dynamic shared library (.so on Unix, .dll on Windows).
ttFPDoc
represents a target that generates documentation using the FPDoc system. These targets documentation source code and XML documentation files.

See also

Values

ttProgramExecutable program target
ttUnitRegular Pascal unit target
ttImplicitUnitUnit with implicit compilation dependencies
ttCleanOnlyUnitUnit processed only during clean operations
ttExampleUnitExample unit for demonstration purposes
ttExampleProgramExample program for demonstration purposes
ttFPDocFPDoc documentation generation target
ttSharedLibraryDynamic shared library target

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