Adds conditional destination string with path mapping
Source position: fpmkunit.pp line 517
public function TConditionalDestStrings.Add( |
const Value: string; |
ADestPath: string |
):TConditionalDestString; |
const Value: string; |
const OSes: TOSes; |
ADestPath: string |
):TConditionalDestString; |
const Value: string; |
const CPUs: TCPUS; |
const OSes: TOSes; |
ADestPath: string |
Value |
|
String value to add |
ADestPath |
|
Destination path for the string mapping |
Newly created conditional destination string item
Value |
|
String value to add |
OSes |
|
Set of operating systems for this conditional string |
ADestPath |
|
Destination path for the string mapping |
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 |
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.