TestBigEndian¶
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.