Skip to content

TPackage.GetUnitConfigOutputFilename

Gets output filename for unit configuration file

Declaration

Source position: fpmkunit.pp line 1036

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

function GetUnitConfigOutputFilename(const aTarget: TCompileTarget)
                                     : string;

Description

Returns the filename for the unit configuration file (.fpc) that contains build settings and unit paths for the specified CPU, OS, and subtarget combination. This file is used by the compiler to locate units and configure compilation.