summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-10 13:20:33 (GMT)
committerBrad King <brad.king@kitware.com>2011-02-10 13:20:33 (GMT)
commit5cdd05bc685b21911553fc3bd8d0b179501d9a2e (patch)
tree43c7465117b823465b1e96652deb0a619bc8b1d4 /Source/cmDocumentVariables.cxx
parente53b7cbadf1b7faf353e91b6041a697a90d9584d (diff)
downloadCMake-5cdd05bc685b21911553fc3bd8d0b179501d9a2e.zip
CMake-5cdd05bc685b21911553fc3bd8d0b179501d9a2e.tar.gz
CMake-5cdd05bc685b21911553fc3bd8d0b179501d9a2e.tar.bz2
Fix documentation of MSVC_VERSION (#11833)
Previously the example version number was wrong. Instead list all the known versions with correct numbers.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 6fffecb..0cd5fa2 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -867,8 +867,14 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
cm->DefineProperty
("MSVC_VERSION", cmProperty::VARIABLE,
"The version of Microsoft Visual C/C++ being used if any.",
- "The version of Microsoft Visual C/C++ being used if any. "
- "For example 1300 is MSVC 6.0.",
+ "Known version numbers are:\n"
+ " 1200 = VS 6.0\n"
+ " 1300 = VS 7.0\n"
+ " 1310 = VS 7.1\n"
+ " 1400 = VS 8.0\n"
+ " 1500 = VS 9.0\n"
+ " 1600 = VS 10.0\n"
+ "",
false,
"Variables That Describe the System");