Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

CurrentCPU

Gets the current CPU architecture

Declaration

Source position: fpmkunit.pp line 1674

function CurrentCPU: string;

Function result

Current CPU architecture identifier

Description

CurrentCPU returns the current CPU architecture identifier for the running platform. This function provides architecture detection for conditional compilation and architecture-specific build settings.

The CPU architecture identifier is used to select appropriate compiler targets, optimization options, and platform-specific code generation settings during the build process.


Documentation generated on: Dec 15 2025