[cmake-developers] [CMake 0012408]: CMake should have a variable for the compiler version

Mantis Bug Tracker mantis at public.kitware.com
Wed Aug 17 07:42:27 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12408 
====================================================================== 
Reported By:                Stephen Kelly
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12408
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-08-17 07:42 EDT
Last Modified:              2011-08-17 07:42 EDT
====================================================================== 
Summary:                    CMake should have a variable for the compiler
version
Description: 
I'm trying to build up a collection in the Module.CheckCXXCompilerFlag test in
the generate_export_header branch, but a variable for the compiler version
should be an easily accessible part of CMake with the regexes for extracting the
version already done. 

Something like CMAKE_CXX_COMPILER_VERSION?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-08-17 07:42 Stephen Kelly  New Issue                                    
======================================================================




More information about the cmake-developers mailing list