No subject


Wed Oct 7 22:37:18 EDT 2009


<br>
# Set compiler flags for endian-ness.<br>
IF(CMAKE_WORDS_BIGENDIAN)<br>
ADD_DEFINITIONS(-DTEEM_ENDIAN=3D4321)<br>
ELSE(CMAKE_WORDS_BIGENDIAN)<br>
ADD_DEFINITIONS(-DTEEM_ENDIAN=3D1234)<br>
ENDIF(CMAKE_WORDS_BIGENDIAN)<br>
<br>
from teemEndian.h:<br>
#ifndef TEEM_ENDIAN<br>
# =A0error TEEM_ENDIAN not defined, see architecture-specific .mk<br>
file<br>
or check compilation options<br>
#elif TEEM_ENDIAN =3D=3D 1234<br>
# =A0/* okay, its little endian */<br>
#elif TEEM_ENDIAN =3D=3D 4321<br>
# =A0/* okay, its big endian */<br>
#else<br>
# =A0error TEEM_ENDIAN not set to 1234 (little endian) or 4321 (big<br>
endian), see architecture-specific .mk file or check compilatio\<br>
n options<br>
#endif<br>
<br>


More information about the Insight-developers mailing list