CMAKE_SYSTEM_PROCESSOR
The name of the CPU CMake is building for.
This variable is the same as CMAKE_HOST_SYSTEM_PROCESSOR
if you build for the host system instead of the target system when cross compiling.
- The
Green Hills MULTI
generator sets this toARM
by default.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/variable/CMAKE_SYSTEM_PROCESSOR.html