MantisBT - CMake
View Issue Details
0014239CMakeModulespublic2013-06-21 02:432013-11-04 09:33
mh 
Brad King 
normalminoralways
closedfixed 
PCWindows7 SP1
CMake 2.8.11.1 
CMake 2.8.12CMake 2.8.12 
0014239: CMakeDetermineVSServicePack does recognize neither Update 1 nor Update 2 for Visual Studio 2012
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.
No tags attached.
Issue History
2013-06-21 02:43mhNew Issue
2013-06-21 08:57Brad KingNote Added: 0033366
2013-06-21 08:57Brad KingAssigned To => Brad King
2013-06-21 08:57Brad KingStatusnew => resolved
2013-06-21 08:57Brad KingResolutionopen => fixed
2013-06-21 08:57Brad KingFixed in Version => CMake 2.8.12
2013-06-21 08:57Brad KingTarget Version => CMake 2.8.12
2013-11-04 09:33Robert MaynardNote Added: 0034377
2013-11-04 09:33Robert MaynardStatusresolved => closed

Notes
(0033366)
Brad King   
2013-06-21 08:57   
After some documentation cleanup:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1746a35d [^]

I added the VS 11 updates:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2aa62e0b [^]

Note that these days you can use CMAKE_<LANG>_COMPILER_VERSION instead.
(0034377)
Robert Maynard   
2013-11-04 09:33   
Closing resolved issues that have not been updated in more than 4 months.