Sign in Join
FPDoc Onlineexperiment

TBuildEngine.PackageOK function

Member of TBuildEnginepublicIn unit fpMkUnit

Checks if package is valid for compilation

Declaration

pascal
function PackageOK(APackage: TPackage): Boolean; virtual

Arguments

APackage

Package to check for validity

Function result

True if package is valid

Description

PackageOK validates whether a package is properly configured and ready for compilation. This function examines package structure, dependencies, target definitions, and configuration validity.

The method returns True if the package can be compiled successfully, or False if there are configuration errors, missing dependencies, or other issues preventing compilation.

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