TTargetType enumeration
Classification of build target types
Declaration
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
ttProgram | Executable program target |
ttUnit | Regular Pascal unit target |
ttImplicitUnit | Unit with implicit compilation dependencies |
ttCleanOnlyUnit | Unit processed only during clean operations |
ttExampleUnit | Example unit for demonstration purposes |
ttExampleProgram | Example program for demonstration purposes |
ttFPDoc | FPDoc documentation generation target |
ttSharedLibrary | Dynamic shared library target |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
