• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_<LANG>_BYTE_ORDER
2-----------------------
3
4.. versionadded:: 3.20
5
6Byte order of ``<LANG>`` compiler target architecture, if known.
7If defined and not empty, the value is one of:
8
9``BIG_ENDIAN``
10  The target architecture is Big Endian.
11
12``LITTLE_ENDIAN``
13  The target architecture is Little Endian.
14
15This is defined for languages ``C``, ``CXX``, ``OBJC``, ``OBJCXX``,
16and ``CUDA``.
17
18If :variable:`CMAKE_OSX_ARCHITECTURES` specifies multiple architectures, the
19value of ``CMAKE_<LANG>_BYTE_ORDER`` is non-empty only if all architectures
20share the same byte order.
21