[CMake] detecting libc version info

Philip Lowman philip at yhbt.com
Wed Sep 1 00:05:53 EDT 2010


On Tue, Aug 31, 2010 at 3:01 PM, Tim St. Clair <timothysc at gmail.com> wrote:

> Is there a handy dandy marco for detecting libc details (e.g. version).


Probably not.  You can use preprocessor checks though.

glibc:
http://predef.sourceforge.net/prelib.html#sec3

gcc:
http://predef.sourceforge.net/precomp.html#sec15

HTH

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100901/0a1c7ec7/attachment.htm>


More information about the CMake mailing list