Fix documentation of MSVC_VERSION (#11833)
Previously the example version number was wrong. Instead list all the known versions with correct numbers.
This commit is contained in:
parent
e53b7cbadf
commit
5cdd05bc68
|
@ -867,8 +867,14 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
("MSVC_VERSION", cmProperty::VARIABLE,
|
("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.",
|
||||||
"The version of Microsoft Visual C/C++ being used if any. "
|
"Known version numbers are:\n"
|
||||||
"For example 1300 is MSVC 6.0.",
|
" 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,
|
false,
|
||||||
"Variables That Describe the System");
|
"Variables That Describe the System");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue