View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007944CMakeCMakepublic2008-11-05 04:012010-09-09 23:49
ReporterRolf Eike Beer 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0007944: MSVC_VERSION is not set for Visual Studio 6
DescriptionUsing NMake of VC6 or using VC9 GUI MSVC_VERSION is set correctly, but not for a studio project of VC6.
TagsNo tags attached.
Attached Filespatch file icon 0001-set-MSVC_VERSION-for-MSVC6-MCVC7-and-MSVC7.1-7944.patch [^] (1,358 bytes) 2010-05-17 04:31 [Show Content]

 Relationships
related to 0010087closedDavid Cole MSVC_VERSION is not set for Visual Studio 2010 (1600) 

  Notes
(0014032)
Rolf Eike Beer (developer)
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 (reporter)
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 (developer)
2010-05-17 04:32

Please commit...
(0021784)
Brad King (manager)
2010-08-17 18:05

Applied and merged to next:

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

 Issue History
Date Modified Username Field Change
2008-11-05 04:01 Rolf Eike Beer New Issue
2008-11-05 04:37 Rolf Eike Beer Note Added: 0014032
2008-12-12 03:12 Jeroen Wijnhout Note Added: 0014333
2008-12-15 10:36 Bill Hoffman Status new => assigned
2008-12-15 10:36 Bill Hoffman Assigned To => David Cole
2009-12-10 14:08 David Cole Assigned To David Cole => Bill Hoffman
2010-05-17 04:31 Rolf Eike Beer File Added: 0001-set-MSVC_VERSION-for-MSVC6-MCVC7-and-MSVC7.1-7944.patch
2010-05-17 04:32 Rolf Eike Beer Note Added: 0020755
2010-08-17 18:03 Brad King Assigned To Bill Hoffman => Brad King
2010-08-17 18:05 Brad King Note Added: 0021784
2010-08-17 18:05 Brad King Status assigned => closed
2010-08-17 18:05 Brad King Resolution open => fixed
2010-08-31 17:59 David Cole Target Version => CMake 2.8.3
2010-09-09 23:49 David Cole Fixed in Version => CMake 2.8.3
2010-12-14 17:34 David Cole Relationship added related to 0010087


Copyright © 2000 - 2018 MantisBT Team