summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst')
-rw-r--r--Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst
new file mode 100644
index 0000000000..f86ed7c150
--- /dev/null
+++ b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER.rst
@@ -0,0 +1,14 @@
+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.