[CMake] compiler major, minor version

Juan Sanchez Juan.Sanchez at amd.com
Mon Nov 5 13:04:28 EST 2007


Please see:

http://predef.sourceforge.net/precomp.html

for an interesting compiler version reference page.

Juan


Brandon Van Every wrote:
> Is there any canonical way to extract the compiler's major and minor
> version numbers?  I can do this with regexes, but as CMake moves into
> cross-compilation territory, it seems like it would be a typical
> operation and possibly canonized already.  If not then perhaps it
> should be, i.e. a feature request.  Thoughts?
> 
> 
> Cheers,
> Brandon Van Every
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 
> 


-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list