1MSVC_VERSION 2------------ 3 4The version of Microsoft Visual C/C++ being used if any. 5If a compiler simulating Visual C++ is being used, this variable is set 6to the toolset version simulated as given by the ``_MSC_VER`` 7preprocessor definition. 8 9Known version numbers are:: 10 11 1200 = VS 6.0 12 1300 = VS 7.0 13 1310 = VS 7.1 14 1400 = VS 8.0 (v80 toolset) 15 1500 = VS 9.0 (v90 toolset) 16 1600 = VS 10.0 (v100 toolset) 17 1700 = VS 11.0 (v110 toolset) 18 1800 = VS 12.0 (v120 toolset) 19 1900 = VS 14.0 (v140 toolset) 20 1910-1919 = VS 15.0 (v141 toolset) 21 1920-1929 = VS 16.0 (v142 toolset) 22 1930-1939 = VS 17.0 (v143 toolset) 23 24See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` and 25:variable:`MSVC_TOOLSET_VERSION` variable. 26