Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

MakeTargetString

Creates target string from parameters

Declaration

Source position: fpmkunit.pp line 1690

function MakeTargetString(

  const aTarget: TCompileTarget;

  aLimit83: Boolean

):string;

function MakeTargetString(

  const aTarget: TCompileTarget

):string;

function MakeTargetString(

  CPU: TCpu;

  OS: TOS;

  aSubTarget: string = ''

):string;

Arguments

aTarget

  

Target type for string generation

aLimit83

  

Whether to limit filename to 8.3 format

Function result

Generated target string

Arguments

aTarget

  

Target type for string generation

Arguments

CPU

  

CPU architecture for target string

OS

  

Operating system for target string

aSubTarget

  

Subtarget for target string generation

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.


Documentation generated on: Dec 15 2025