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

TConditionalDestStrings.Add

Adds conditional destination string with path mapping

Declaration

Source position: fpmkunit.pp line 517

public function TConditionalDestStrings.Add(

  const Value: string;

  ADestPath: string

):TConditionalDestString;

function TConditionalDestStrings.Add(

  const Value: string;

  const OSes: TOSes;

  ADestPath: string

):TConditionalDestString;

function TConditionalDestStrings.Add(

  const Value: string;

  const CPUs: TCPUS;

  const OSes: TOSes;

  ADestPath: string

):TConditionalDestString;

Arguments

Value

  

String value to add

ADestPath

  

Destination path for the string mapping

Function result

Newly created conditional destination string item

Arguments

Value

  

String value to add

OSes

  

Set of operating systems for this conditional string

ADestPath

  

Destination path for the string mapping

Arguments

Value

  

String value to add

CPUs

  

Set of CPU architectures for this conditional string

OSes

  

Set of operating systems for this conditional string

ADestPath

  

Destination path for the string mapping

Description

Add creates and adds a new conditional destination string with the specified value, destination path, and platform restrictions.

The string will only be used when the current build targets match the specified CPU architectures and operating systems.

This method enables platform-specific file installation paths and destination mapping in build configurations.


Documentation generated on: Dec 15 2025