Sign in Join
FPDoc Onlineexperiment

TBuildEngine.AddPathPrefix function

Member of TBuildEnginepublicIn unit fpMkUnit

Adds package-specific path prefix to a path

Declaration

pascal
function AddPathPrefix(APackage: TPackage; APath: string): string

Arguments

APackage

Package instance for path prefix context

APath

Original path to add prefix to

Function result

Path with package prefix added

Description

Adds a package-specific path prefix to the given path string.

This ensures paths are correctly resolved relative to the package's base directory and build configuration.

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