[CMake] Getting the compiler version?

Philip Lowman philip at yhbt.com
Tue Apr 14 21:52:04 EDT 2009


On Tue, Apr 14, 2009 at 11:17 AM, Bartlett, Roscoe A <rabartl at sandia.gov>wrote:

> Thanks for the pointer.  We will look into this and try to create a module
> that other people could use also.  However, it would be good if we could get
> this added as an official CMake module that can be supported by a broader
> community.


You might be able to get a lot of what you're looking for from preprocessor
definitions.  These could be wrapped into a CMake function that calls
try_run()

http://predef.sf.net

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090414/9f032493/attachment.htm>


More information about the CMake mailing list