Skip to content

TPackage.GetUnitsOutputDir

Returns the output directory for compiled units

Declaration

Source position: fpmkunit.pp line 1035

public 
function GetUnitsOutputDir(ACPU: TCpu; AOS: TOS; 
                          const aSubTarget: string) : string;

function GetUnitsOutputDir(const aTarget: TCompileTarget) : string;

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.