Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBuildEngine.Compile

Compiles a specific target within a package

Declaration

Source position: fpmkunit.pp line 1444

public procedure TBuildEngine.Compile(

  APackage: TPackage;

  ATarget: TTarget

); virtual;

procedure TBuildEngine.Compile(

  APackage: TPackage

);

procedure TBuildEngine.Compile(

  Packages: TPackages

);

Arguments

APackage

  

Package containing the target to compile

ATarget

  

Target to compile within the package

Arguments

APackage

  

Package containing the target to compile

Arguments

Packages

  

List of packages to compile

Description

Compiles the specified target within the given package. This method handles the actual compilation process, including dependency resolution, command-line generation, and execution of the Free Pascal Compiler.

See also

MaybeCompile

  

Compiles target if compilation is needed

CompileDependencies

  

Compiles all dependencies for a target

TTarget

  

Build target representation in the fpmake system

TPackage

  

Central class for package management and building


Documentation generated on: Dec 15 2025