Checks if target differs from build platform
Source position: fpmkunit.pp line 1684
function IsDifferentFromBuild( |
ACpu: TCpu; |
AOs: TOS |
):Boolean; |
ACpu |
|
Target CPU architecture to check |
AOs |
|
Target operating system to check |
True if target platform differs from build platform
IsDifferentFromBuild determines whether the specified target operating system and CPU architecture differ from the current build platform. This function enables detection of cross-compilation scenarios.
The function returns True when building for a different platform than the current build system.