[CMake] Testing endianess

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 2 09:51:30 EDT 2008


Ahhh nevermind, the implementation changed in cmake 2.6 but interface
remains the same.

this is working out of the box, nice !

Sorry for the noise,
-Mathieu

On Mon, Jun 2, 2008 at 3:48 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> 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
>



-- 
Mathieu


More information about the CMake mailing list