Sign in Join
FPDoc Onlineexperiment

TBuildEngine.ResolveFileNames procedure

Member of TBuildEnginepublicIn unit fpMkUnit

Resolves and validates file paths for package targets

Declaration

pascal
procedure ResolveFileNames(APackage: TPackage; ACPU: TCpu; AOS: TOS; 
 DoChangeDir: Boolean=True; 
 WarnIfNotFound: Boolean=True)

Arguments

APackage

Package containing targets to resolve

ACPU

Target CPU architecture

AOS

Target operating system

DoChangeDirTrue to change to package directory during resolution
WarnIfNotFoundTrue to warn about missing files

Description

Resolves all file paths used by targets in the package, ensuring source files exist and creating proper search paths for the specified CPU and OS.

This critical preprocessing step validates that all required files are available before compilation begins and sets up directory context for build operations.

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