[CMake] detecting libc version info
Tim St. Clair
timothysc at gmail.com
Wed Sep 1 12:32:11 EDT 2010
Phil -
Thanks for the feedback, I was able to create a macro which uses try_run
to detect.
Cheers,
Tim
On Tue, Aug 31, 2010 at 11:05 PM, Philip Lowman <philip at yhbt.com> wrote:
> 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
>
--
Cheers,
Timothy St. Clair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100901/c8cecfd4/attachment.htm>
More information about the CMake
mailing list