Re: [CMake] detecting libc version info

2010-09-01 Thread Tim St. Clair
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 phi...@yhbt.com wrote: On Tue, Aug 31, 2010 at 3:01 PM, Tim St. Clair timoth...@gmail.comwrote: Is there a handy dandy marco for

Re: [CMake] detecting libc version info

2010-09-01 Thread Paweł Sikora
On Wednesday 01 September 2010 18:32:11 Tim St. Clair wrote: Phil - Thanks for the feedback, I was able to create a macro which uses try_run to detect. you can also run /lib64/libc.so.6 to detect/parse glibc version info. $ /lib64/libc.so.6 GNU C Library stable release version 2.12.1,

[CMake] detecting libc version info

2010-08-31 Thread Tim St. Clair
Is there a handy dandy marco for detecting libc details (e.g. version). -- Cheers, Timothy St. Clair ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] detecting libc version info

2010-08-31 Thread Philip Lowman
On Tue, Aug 31, 2010 at 3:01 PM, Tim St. Clair timoth...@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: