TRunMode¶
Build system execution modes
Declaration¶
Source position: fpmkunit.pp line 205
type
TRunMode = (rmCompile,rmBuild,rmInstall,rmBuildInstall,rmArchive,
rmClean,rmDistClean,rmManifest,rmZipInstall,rmPkgList,
rmUnInstall,rmInfo,rmDocProject,rmDoc)Values¶
| Value | Description |
|---|---|
| rmCompile | Compile mode - only compile sources |
| rmBuild | Build mode - compile and link |
| rmInstall | Install mode - install files |
| rmBuildInstall | Build and install mode |
| rmArchive | Archive mode - create distribution archive |
| rmClean | Clean mode - remove generated files |
| rmDistClean | Distribution clean mode - remove all generated files and directories |
| rmManifest | Generate package manifest file |
| rmZipInstall | Install package from ZIP archive |
| rmPkgList | List available packages |
| rmUnInstall | Uninstall mode - remove installed package files |
| rmInfo | Information mode - display package information |
| rmDocProject | Generate documentation project file |
| rmDoc |
Description¶
Enumeration that defines the different run (operation) modes available in the build system. Determines what actions are performed when the build system is executed.
- rmCompile
- specifies that the build system should only compile source files without performing installation or packaging operations. This mode produces compiled units and executables in the build directory.
- rmBuild
- specifies that the build system should compile source files and perform linking operations to create final executables and libraries. This mode produces complete build artifacts ready for installation.
- rmInstall
- specifies that the build system should install compiled files to their target locations in the system. This mode performs both building and installation of package components.
- rmBuildInstall
- specifies that the build system should perform both compilation and installation operations in a single step. This mode combines building and installing for convenient package deployment.
- rmArchive
- specifies that the build system should create distribution archives (.zip, .tar) containing package sources and compiled files. This mode prepares packages for distribution and deployment.
- rmClean
- specifies that the build system should remove generated files such as compiled units, object files, and executables. This mode cleans the build environment for a fresh compilation.
- rmDistClean
- specifies that the build system should perform a thorough cleanup, removing all generated files, directories, and build artifacts. This mode returns the package to its original source-only state.
- rmManifest
- specifies that the build system should generate a package manifest file listing all package components, dependencies, and metadata. This mode creates documentation of package contents.
- rmZipInstall
- specifies that the build system should install a package from a ZIP archive. This mode extracts and installs pre-packaged distribution files.
- rmPkgList
- specifies that the build system should display a list of available packages in the system. This mode provides information about installable and installed packages.
- rmUnInstall
- specifies that the build system should remove previously installed package files from the system. This mode performs cleanup of installed package components.
- rmDocProject
- specifies that the build system should generate documentation project files for use with FPDoc or other documentation tools. This mode creates configuration files for documentation generation.
- rmInfo
- specifies that the build system should display detailed information about a package, including version, dependencies, targets, and configuration.