Sign in Join
FPDoc Onlineexperiment

TfpmPlugin.BeforeResolvePackagePath procedure

Member of TfpmPluginpublicIn unit fpMkUnit

Called before resolving package path

Declaration

pascal
procedure BeforeResolvePackagePath(ABuildEngine: TBuildEngine; 
 APackage: TPackage; 
 out AContinue: Boolean); virtual

Arguments

ABuildEngine

Build engine performing the resolution

APackage

Package whose path is being resolved

AContinue

Whether to continue path resolution

Description

BeforeResolvePackagePath is called by the build engine before resolving package paths during build operations. This method enables plugins to intercept and modify package path resolution logic.

Plugins can use this callback to implement custom package location strategies, add search paths, or modify the package discovery process according to specific requirements.

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