[CMake] compiler major, minor version

Brandon Van Every bvanevery at gmail.com
Mon Nov 5 12:25:03 EST 2007


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


More information about the CMake mailing list