1CMAKE_SYSTEM_PROCESSOR 2---------------------- 3 4When not cross-compiling, this variable has the same value as the 5:variable:`CMAKE_HOST_SYSTEM_PROCESSOR` variable. In many cases, 6this will correspond to the target architecture for the build, but 7this is not guaranteed. (E.g. on Windows, the host may be ``AMD64`` 8even when using a MSVC ``cl`` compiler with a 32-bit target.) 9 10When cross-compiling, a :variable:`CMAKE_TOOLCHAIN_FILE` should set 11the ``CMAKE_SYSTEM_PROCESSOR`` variable to match target architecture 12that it specifies (via :variable:`CMAKE_<LANG>_COMPILER` and perhaps 13:variable:`CMAKE_<LANG>_COMPILER_TARGET`). 14