Add a new conditional string
Source position: fpmkunit.pp line 488
public function TConditionalStrings.Add( |
const Value: string |
):TConditionalString; overload; |
const Value: string; |
const OSes: TOSes |
):TConditionalString; overload; |
const Value: string; |
const CPUs: TCPUS; |
const OSes: TOSes |
):TConditionalString; overload; |
Value |
|
String value to add |
Newly created conditional string item
Value |
|
String value to add |
OSes |
|
Set of operating systems for this conditional string |
Value |
|
String value to add |
CPUs |
|
Set of CPU architectures for this conditional string |
OSes |
|
Set of operating systems for this conditional string |
Creates and adds a new conditional string with the specified value and platform restrictions. The string will only be used when the current build targets match the specified CPU architectures and operating systems.
Platform-specific strings enable configuration of different values for different target platforms within the same package.