[CMake] CMake's equivalent of autoconf's c.m4 ?

Brad King brad.king at kitware.com
Tue Dec 13 18:47:25 EST 2005


Eric BOIX wrote:
> Has anyone ported or seen a CMake traduction of the autoconf's c.m4 macros ?
> (see e.g. http://www.opensource.apple.com/darwinsource/DevToolsDec2003/autoconf-11/autoconf/lib/autoconf/c.m4 )
> Actually I don't need all of it, but only the parts that cause trouble
> most often (weel for me :), e.g. macros such as AC_C_INLINE, AC_C_CONST...

I don't think this has been done.  There are alot of CMake modules 
providing try-compile examples.  You can use the TRY_COMPILE command to 
get this information.  If you get it working you can package it up as a 
module and submit a feature request here:

http://www.cmake.org/Bug

for inclusion of the module.

-Brad


More information about the CMake mailing list