Added in version 3.10.
List of identifiers indicating the
target architecture(s) of the compiler for language <LANG>.
Typically the list has one entry unless CMAKE_OSX_ARCHITECTURES
lists multiple architectures.
Possible values for each platform are documented in the following sections.
Added in version 4.1.
These identifiers are used when the CMAKE_<LANG>_COMPILER
targets an Apple platform (__APPLE__ is defined).
arm64ARM 64-bit
arm64eARM 64-bit with Pointer Authentication (PACs)
arm64_32ARM 64-bit with 32-bit pointers (watchOS)
armv5, armv6, armv7, armv7k, armv7sARM 32-bit
i386, i486, i586, i686Intel 32-bit
ppcPowerPC 32-bit
x86_64Intel 64-bit
Added in version 4.1.
These identifiers are used when the CMAKE_<LANG>_COMPILER
targets a UNIX platform.
aarch64ARM 64-bit
alphaDEC Alpha
armv5, armv6, armv7ARM 32-bit
i386, i486, i586, i686Intel 32-bit
ia64Itanium 64-bit
loongarch32LoongArch 32-bit
loongarch64LoongArch 64-bit
m68kMotorola 68000
mipsMIPS 32-bit big-endian
mipselMIPS 32-bit little-endian
mips64MIPS 64-bit big-endian
mips64elMIPS 64-bit little-endian
pariscPA-RISC 32-bit
parisc64PA-RISC 64-bit
ppcPowerPC 32-bit big-endian
ppclePowerPC 32-bit little-endian
ppc64PowerPC 64-bit big-endian
ppc64lePowerPC 64-bit little-endian
riscv32RISC-V 32-bit
riscv64RISC-V 64-bit
s390, s390xIBM Z
sparcSPARC 32-bit
sparcv9SPARC 64-bit
x86_64Intel 64-bit
Added in version 4.1.
These identifiers are used when the CMAKE_<LANG>_COMPILER
targets Windows with a GNU ABI (_WIN32 and __MINGW32__ are defined).
aarch64ARM 64-bit
armv7ARM 32-bit
i386, i486, i586, i686Intel 32-bit
x86_64Intel 64-bit
Added in version 3.10.
These identifiers are used when the CMAKE_<LANG>_COMPILER
targets Windows with a MSVC ABI (_WIN32 and _MSC_VER are defined).
ARM64ARM 64-bit
ARM64ECARM 64-bit Emulation-Compatible
ARMV4I, ARMV5I, ARMV7ARM 32-bit
IA64Itanium 64-bit
MIPSMIPS
SHx, SH3, SH3DSP, SH4, SH5SuperH
x64Intel 64-bit
X86Intel 32-bit
Added in version 3.10.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
OpenWatcom or Watcom.
I86Intel 16-bit
X86Intel 32-bit
Added in version 3.14.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
GHS.
ARMARM 32-bit
PPCPowerPC 32-bit
PPC64PowerPC 64-bit
x64Intel 64-bit
X86Intel 32-bit
Added in version 3.10.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
IAR.
8051Intel 8051-compatible 8-bit
ARMARM 32-/64-bit
AVRMicrochip AVR 8-bit
MSP430Texas Instruments MSP430 16-bit
RH850Renesas Electronics RH850 32-bit
RISCVRISC-V 32-/64-bit
RL78Renesas Electronics RL78 16-bit
RXRenesas Electronics RX 32-bit
STM8STMicroelectronics STM8 8-bit
V850Renesas Electronics V850 32-bit
Added in version 4.1.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
Renesas.
RH850Renesas Electronics RH850
RL78Renesas Electronics RL78
RXRenesas Electronics RX
Added in version 3.25.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
Tasking.
8051ARCARMMCSPCPTriCoreAdded in version 3.19.
These identifiers are used when CMAKE_<LANG>_COMPILER_ID is
TI.
ARMBlackfinMSP430SHARCTMS320C28xTMS320C6x