Sign in Join
FPDoc Onlineexperiment

TPackage.GetUnitsOutputDir function deprecated

Member of TPackagepublicIn unit fpMkUnit

Returns the output directory for compiled units

Declaration

pascal
function GetUnitsOutputDir(ACPU: TCpu; AOS: TOS; 
 const aSubTarget: string): string
function GetUnitsOutputDir(const aTarget: TCompileTarget): string

Arguments

ACPU

Target CPU architecture

AOS

Target operating system

aSubTarget

Subtarget name for output directory

aTarget

Build target for unit output directory

Function result

Path to units output directory

Description

Returns the directory where compiled unit files (.ppu) will be placed for the specified CPU, OS, and subtarget combination.

The directory path is constructed based on package configuration and platform settings.

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