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:: include/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.rst

See also the :variable:`CMAKE_GENERATOR_INSTANCE` variable.
