summaryrefslogtreecommitdiffstats
path: root/Help/variable/MSVC.rst
diff options
context:
space:
mode:
authorChristian Pfeiffer <cpfeiffer@live.de>2018-01-31 17:20:13 (GMT)
committerBrad King <brad.king@kitware.com>2018-02-01 13:05:46 (GMT)
commitefe22af20e0613308df935a05256d55fc420e42b (patch)
tree2c3150abaea2c4877b232c1e69c6e650541b5596 /Help/variable/MSVC.rst
parenta0c04e71eb2eb4b06c7a4fcfd9be21f9ac6a38ad (diff)
downloadCMake-efe22af20e0613308df935a05256d55fc420e42b.zip
CMake-efe22af20e0613308df935a05256d55fc420e42b.tar.gz
CMake-efe22af20e0613308df935a05256d55fc420e42b.tar.bz2
Help: Clarify MSVC and MSVC_VERSION variables
The current documentation doesn't clarify that compilers simulating Visual C++ will also have these variables set.
Diffstat (limited to 'Help/variable/MSVC.rst')
-rw-r--r--Help/variable/MSVC.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/variable/MSVC.rst b/Help/variable/MSVC.rst
index 22a087a..ca8775c 100644
--- a/Help/variable/MSVC.rst
+++ b/Help/variable/MSVC.rst
@@ -1,8 +1,8 @@
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.