Commit 5a16e762 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'msvc-doc-fix'

efe22af2

 Help: Clarify MSVC and MSVC_VERSION variables
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1732
parents f8ca0ab3 efe22af2
Pipeline #90009 canceled with stage
in 0 seconds
MSVC
----
``True`` when using Microsoft Visual C++.
Set to ``true`` when the compiler is some version of Microsoft Visual C++.
Set to ``true`` when the compiler is some version of Microsoft Visual
C++ or another compiler simulating Visual C++. Any compiler defining
``_MSC_VER`` is considered simulating Visual C++.
See also the :variable:`MSVC_VERSION` variable.
......@@ -2,6 +2,9 @@ MSVC_VERSION
------------
The version of Microsoft Visual C/C++ being used if any.
If a compiler simulating Visual C++ is being used, this variable is set
to the toolset version simulated as given by the ``_MSC_VER``
preprocessor definition.
Known version numbers are::
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment