vs-version-var -------------- * A :variable:`CMAKE_VS_VERSION_BUILD_NUMBER` variable is now set by :ref:`Visual Studio Generators` for VS 2017 and above to report the four-component Visual Studio version number.