cmake (3.27.7)

(root)/
share/
cmake-3.27/
Help/
variable/
CMAKE_VS_VERSION_BUILD_NUMBER.rst
CMAKE_VS_VERSION_BUILD_NUMBER
-----------------------------

.. versionadded:: 3.26

Visual Studio version.

:ref:`Visual Studio Generators` for VS 2017 and above set this
variable to the Visual Studio version build number in the format
``<major>.<minor>.<date>.<build>``.

.. include:: CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt

See also the :variable:`CMAKE_GENERATOR_INSTANCE` variable.