Sign in Join
FPDoc Onlineexperiment

TBuildEngine.DoBeforeCompile procedure

Member of TBuildEnginepublicIn unit fpMkUnit

Executes actions before package compilation

Declaration

pascal
procedure 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.