[cmake-developers] [CMake 0014239]: CMakeDetermineVSServicePack does recognize neither Update 1 nor Update 2 for Visual Studio 2012

Mantis Bug Tracker mantis at public.kitware.com
Fri Jun 21 02:43:43 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14239 
====================================================================== 
Reported By:                mh
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14239
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-06-21 08:43 CEST
Last Modified:              2013-06-21 08:43 CEST
====================================================================== 
Summary:                    CMakeDetermineVSServicePack does recognize neither
Update 1 nor Update 2 for Visual Studio 2012
Description: 
CMakeDetermineVSServicePack.cmake, which we use to ensure that our projects are
only built using a supported version of Visual Studio, does not recognize VS
2012 with Update 1 or 2 installed. The return value is an empty string.

This should be easy to fix: Add the new cl versions in
Modules/CMakeDetermineVSServicePack.cmake around line 60. The x86_amd64 cl.exe
on my system with Update 2 installed reports "17.0.60315.1". The new '_version'
could be either 'vc110up2' or 'vc110sp2'.

One problem that could arise: I've read on
http://connect.microsoft.com/VisualStudio/feedback/details/773126/visual-studio-2012-update-1-does-not-update-x64-native-compiler
and
http://connect.microsoft.com/VisualStudio/feedback/details/773126/visual-studio-2012-update-1-does-not-update-x64-native-compiler
(comment from 'Michael'), that the native x64 compilers version number did not
change, at least for Update 1. I can't check this myself for Update 2, as the
Express Edition used for evaluation does not seem to contain the x64 compiler.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-06-21 08:43 mh             New Issue                                    
======================================================================




More information about the cmake-developers mailing list