Skip to content

TBuildEngine.CheckExternalPackage

Checks if external package is available

Declaration

Source position: fpmkunit.pp line 1493

public 
function TBuildEngine.CheckExternalPackage(const APackageName: string; 
                                          const ForPackageName: string; 
                                          ErrorOnFailure: Boolean)
                                           : TPackage;

Description

CheckExternalPackage verifies the availability and accessibility of external packages required by the build. This function checks for system packages, third-party libraries, and external dependencies not managed by fpmake.

The method returns True if the external package is found and accessible, enabling the build to proceed with confidence that external dependencies are satisfied.