Discouraged. Use the MSVC_VERSION variable instead.
MSVC_VERSION
True when using the Microsoft Visual Studio v120 toolset (cl version 18) or another compiler that simulates it.
True
v120
cl