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