diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2018-01-31 17:20:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-02-01 13:05:46 (GMT) |
commit | efe22af20e0613308df935a05256d55fc420e42b (patch) | |
tree | 2c3150abaea2c4877b232c1e69c6e650541b5596 /Help/variable/MSVC_VERSION.rst | |
parent | a0c04e71eb2eb4b06c7a4fcfd9be21f9ac6a38ad (diff) | |
download | CMake-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_VERSION.rst')
-rw-r--r-- | Help/variable/MSVC_VERSION.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/MSVC_VERSION.rst b/Help/variable/MSVC_VERSION.rst index 0a3a7a6..5f70c02 100644 --- a/Help/variable/MSVC_VERSION.rst +++ b/Help/variable/MSVC_VERSION.rst @@ -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:: |