[CMake] Porting autoconf checks to cmake

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sun Jun 3 14:22:44 EDT 2007


On 2007-06-03 19:35+0200 Andreas Pakulat wrote:

> Hi,
>
> I'm currently working on porting GNU Common C++ to CMake buildsystem to
> be able to easily build it on win32. Along the way I found now an
> autoconf check that I can't seem to find an equivalent for in CMake.
>
> The check is AC_TYPE_SIGNAL and just checks for the return value of
> signal handlers. It then sets a variable to either void or int,
> depending on the outcome of the check.
>
> So is there something like that coming with CMake

no.

> or do I have to
> rewrite the autoconf check in cmake myself

no since the PLplot developers have already done that.... :-)

See
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/TestSignalType.cmake?view=log
and
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/TestSignalType.c?view=log.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list