Zitat von Michael Jackson <mike.jack...@bluequartz.net>:
Then in the header file that gets configured I have this:

#if !defined(__APPLE__)
# define MXA_SIZEOF_CHAR   @MXA_SIZEOF_CHAR@
# define MXA_SIZEOF_SHORT  @MXA_SIZEOF_SHORT@
# define MXA_SIZEOF_INT    @MXA_SIZEOF_INT@
# define MXA_SIZEOF_LONG   @MXA_SIZEOF_LONG@
# define MXA_SIZEOF_FLOAT  @MXA_SIZEOF_FLOAT@
# define MXA_SIZEOF_DOUBLE @MXA_SIZEOF_DOUBLE@
#else
# define MXA_SIZEOF_CHAR   1
# define MXA_SIZEOF_SHORT  2
# define MXA_SIZEOF_INT    4
# if defined(__LP64__) && __LP64__
#  define MXA_SIZEOF_LONG  8
# else
#  define MXA_SIZEOF_LONG  4
# endif
# define MXA_SIZEOF_FLOAT  4
# define MXA_SIZEOF_DOUBLE 8
#endif

I think why it never gets hit is that everyone just builds CMake for a
single arch, or they let CMake do the initial run, and then use the
CMake-GUI to add an arch to the list. Just a guess. I guess someone can
file a bug against cmake for that..

Why do you need those CHECK_TYPE_SIZE() and this defines above at all?
Maybe this problem is self-made?

HS


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to