IsDifferentFromBuild function
Checks if target differs from build platform
Declaration
function IsDifferentFromBuild(ACpu: TCpu; AOs: TOS): BooleanArguments
ACpu | Target CPU architecture to check |
AOs | Target operating system to check |
Function result
True if target platform differs from build platform
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
