MantisBT - CMake
View Issue Details
0007944CMakeCMakepublic2008-11-05 04:012010-09-09 23:49
Rolf Eike Beer 
Brad King 
normalminoralways
closedfixed 
CMake-2-6 
CMake 2.8.3CMake 2.8.3 
0007944: MSVC_VERSION is not set for Visual Studio 6
Using NMake of VC6 or using VC9 GUI MSVC_VERSION is set correctly, but not for a studio project of VC6.
No tags attached.
related to 0010087closed David Cole MSVC_VERSION is not set for Visual Studio 2010 (1600) 
patch 0001-set-MSVC_VERSION-for-MSVC6-MCVC7-and-MSVC7.1-7944.patch (1,358) 2010-05-17 04:31
https://public.kitware.com/Bug/file/3121/0001-set-MSVC_VERSION-for-MSVC6-MCVC7-and-MSVC7.1-7944.patch
Issue History
2008-11-05 04:01Rolf Eike BeerNew Issue
2008-11-05 04:37Rolf Eike BeerNote Added: 0014032
2008-12-12 03:12Jeroen WijnhoutNote Added: 0014333
2008-12-15 10:36Bill HoffmanStatusnew => assigned
2008-12-15 10:36Bill HoffmanAssigned To => David Cole
2009-12-10 14:08David ColeAssigned ToDavid Cole => Bill Hoffman
2010-05-17 04:31Rolf Eike BeerFile Added: 0001-set-MSVC_VERSION-for-MSVC6-MCVC7-and-MSVC7.1-7944.patch
2010-05-17 04:32Rolf Eike BeerNote Added: 0020755
2010-08-17 18:03Brad KingAssigned ToBill Hoffman => Brad King
2010-08-17 18:05Brad KingNote Added: 0021784
2010-08-17 18:05Brad KingStatusassigned => closed
2010-08-17 18:05Brad KingResolutionopen => fixed
2010-08-31 17:59David ColeTarget Version => CMake 2.8.3
2010-09-09 23:49David ColeFixed in Version => CMake 2.8.3
2010-12-14 17:34David ColeRelationship addedrelated to 0010087

Notes
(0014032)
Rolf Eike Beer   
2008-11-05 04:37   
It looks like CMakeVS6FindMake.cmake, CMakeVS7FindMake.cmake, and CMakeVS71FindMake.cmake simply don't set this. For VS8 and VS9 they are set in the according files (see last line of the corresponding file). I think the correct version should simply be set there.
(0014333)
Jeroen Wijnhout   
2008-12-12 03:12   
I can confirm this for MSVC71. This bug renders the use of MSVC_VERSION useless if you are dealing with compilers before VS8.
(0020755)
Rolf Eike Beer   
2010-05-17 04:32   
Please commit...
(0021784)
Brad King   
2010-08-17 18:05   
Applied and merged to next:

http://cmake.org/gitweb?p=cmake.git;a=log;h=137fed46 [^]