Deprecated since version 3.20: Supserseded by the CMAKE_<LANG>_BYTE_ORDER variable.
Check if the target architecture is big endian or little endian.
test_big_endian test_big_endian(<var>)
Stores in variable <var> either 1 or 0 indicating whether the target architecture is big or little endian.
© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.31/module/TestBigEndian.html