You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
509 B
20 lines
509 B
3 years ago
|
###########################################
|
||
|
# #
|
||
|
# Improvements and feedback are welcome #
|
||
|
# #
|
||
|
# This file is released under GPL >= 3 #
|
||
|
# #
|
||
|
###########################################
|
||
|
|
||
|
|
||
|
##### test big/little endian
|
||
|
|
||
|
include(TestBigEndian)
|
||
|
test_big_endian(WORDS_BIGENDIAN)
|
||
|
|
||
|
if( ${WORDS_BIGENDIAN} )
|
||
|
set( _ENDIAN "Q_BIG_ENDIAN" )
|
||
|
else()
|
||
|
set( _ENDIAN "Q_LITTLE_ENDIAN" )
|
||
|
endif()
|