Skip to content

MakeTargetString

Creates target string from parameters

Declaration

Source position: fpmkunit.pp line 1714

function MakeTargetString(const aTarget: TCompileTarget; 
                         aLimit83: Boolean) : string;
function MakeTargetString(const aTarget: TCompileTarget) : string;
function MakeTargetString(CPU: TCpu; OS: TOS; aSubTarget: string='')
                          : string;

Description

MakeTargetString constructs a formatted target string from CPU architecture, operating system, and build mode parameters. This function creates standardized target identifiers used throughout the build system.

The generated target string format enables consistent identification of build configurations and target platforms within package management and compilation operations.