Skip to content

TBuildEngine.DoBeforeCompile

Executes actions before package compilation

Declaration

Source position: fpmkunit.pp line 1467

public 
procedure TBuildEngine.DoBeforeCompile(APackage: TPackage);  virtual;

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.