[CMake] Testing endianess

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 2 09:48:08 EDT 2008


Hi there,

  I believe there is a new way to test endianness with cmake. I was using:

INCLUDE (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
TEST_BIG_ENDIAN(GDCM_WORDS_BIGENDIAN)

  But this does not work when using mingw32 compiler on a linux box.

Thanks !
-- 
Mathieu


More information about the CMake mailing list