Parses string to extract CPU and OS information
Source position: fpmkunit.pp line 1693
procedure StringToCPUOS( |
const S: string; |
var CPU: TCpu; |
var OS: TOS |
); |
S |
|
String containing CPU and OS information |
CPU |
|
Extracted CPU architecture identifier |
OS |
|
Extracted operating system identifier |
StringToCPUOS parses a combined string containing CPU architecture and operating system information, extracting the individual CPU and OS identifiers. This procedure handles target string parsing for build configuration.
The procedure processes target strings in various formats and populates the output parameters with the corresponding CPU architecture and operating system enumeration values.