Help: Document preference of MSVC_VERSION over MSVC##

Issue: #16735
This commit is contained in:
Brad King 2017-03-22 11:22:35 -04:00
parent 712452e330
commit fecf846701
10 changed files with 20 additions and 0 deletions

View File

@ -4,3 +4,5 @@ MSVC
``True`` when using Microsoft Visual C++.
Set to ``true`` when the compiler is some version of Microsoft Visual C++.
See also the :variable:`MSVC_VERSION` variable.

View File

@ -1,5 +1,7 @@
MSVC10
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v100`` toolset
(``cl`` version 16) or another compiler that simulates it.

View File

@ -1,5 +1,7 @@
MSVC11
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v110`` toolset
(``cl`` version 17) or another compiler that simulates it.

View File

@ -1,5 +1,7 @@
MSVC12
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v120`` toolset
(``cl`` version 18) or another compiler that simulates it.

View File

@ -1,5 +1,7 @@
MSVC14
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v140`` or ``v141``
toolset (``cl`` version 19) or another compiler that simulates it.

View File

@ -1,6 +1,8 @@
MSVC60
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using Microsoft Visual C++ 6.0.
Set to ``true`` when the compiler is version 6.0 of Microsoft Visual C++.

View File

@ -1,6 +1,8 @@
MSVC70
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using Microsoft Visual C++ 7.0.
Set to ``true`` when the compiler is version 7.0 of Microsoft Visual C++.

View File

@ -1,6 +1,8 @@
MSVC71
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using Microsoft Visual C++ 7.1.
Set to ``true`` when the compiler is version 7.1 of Microsoft Visual C++.

View File

@ -1,5 +1,7 @@
MSVC80
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v80`` toolset
(``cl`` version 14) or another compiler that simulates it.

View File

@ -1,5 +1,7 @@
MSVC90
------
Discouraged. Use the :variable:`MSVC_VERSION` variable instead.
``True`` when using the Microsoft Visual Studio ``v90`` toolset
(``cl`` version 15) or another compiler that simulates it.