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

TBuildEngine.AddPathPrefix

Adds package-specific path prefix to a path

Declaration

Source position: fpmkunit.pp line 1414

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


Documentation generated on: Dec 15 2025