Skip to content

Reference for unit 'fpMkUnit'

Free Pascal package building and installation engine

uses

Used units Description
System
Types
BaseUnix
sysutils
Classes
Process Unit implementing the TProcess component.
LibTar tar archive manipulation classes.
Zipper Unit implementing zip/unzip compression/decompression functionality.
ZStream Support for compression streams.

Overview

The fpmkunit unit implements the core building and installation engine for Free Pascal packages. It provides a complete set of classes and functions for managing package compilation, dependency resolution, file installation, and archive creation.

This unit forms the foundation of the fpmake build system, offering classes like TPackage for package management, TTarget for build targets, TDependency for dependency tracking, and various installer classes for deployment.

The building engine supports cross-platform compilation with CPU and OS-specific conditional compilation, package variants, custom commands, and flexible installation schemes.

Topic Description
Usage Usage description
CommandLineOptions Commandline options
Dependencies Handling dependencies