CMAKE_HOST_SYSTEM_PROCESSOR.rst 458 B

123456789101112131415
  1. CMAKE_HOST_SYSTEM_PROCESSOR
  2. ---------------------------
  3. The name of the CPU CMake is running on.
  4. On Windows, this variable is set to the value of the environment variable
  5. ``PROCESSOR_ARCHITECTURE``. On systems that support ``uname``, this variable is
  6. set to the output of:
  7. - ``uname -m`` on GNU, Linux, Cygwin, Darwin, Android, or
  8. - ``arch`` on OpenBSD, or
  9. - on other systems,
  10. * ``uname -p`` if its exit code is nonzero, or
  11. * ``uname -m`` otherwise.