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

TBuildEngine.PackageOK

Checks if package is valid for compilation

Declaration

Source position: fpmkunit.pp line 1451

public function TBuildEngine.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.


Documentation generated on: Dec 15 2025