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

TBuildEngine.DoBeforeCompile

Executes actions before package compilation

Declaration

Source position: fpmkunit.pp line 1452

public procedure TBuildEngine.DoBeforeCompile(

  APackage: TPackage

); virtual;

Arguments

APackage

  

Package about to be compiled

Description

DoBeforeCompile performs pre-compilation setup and initialization tasks for the package. This method prepares the build environment, resolves dependencies, and executes any custom pre-build commands.

The procedure ensures that all necessary conditions are met before the actual compilation process begins, including directory creation, file preparation, and environment configuration.


Documentation generated on: Dec 15 2025