summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-26 19:22:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-29 15:52:58 (GMT)
commitec8d37b3b1ca10535e219b37cf4889d59b1dfedb (patch)
tree34b6c70c6de5805b9d0ae51d3966e7d1195799f1 /Help/variable
parent8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b (diff)
downloadCMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.zip
CMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.tar.gz
CMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.tar.bz2
VS: Support version specification in CMAKE_GENERATOR_INSTANCE
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_GENERATOR_INSTANCE.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst
index 57dba53..3596bf6 100644
--- a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst
+++ b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst
@@ -37,7 +37,12 @@ of the VS installation.
The ``key=value`` pairs form a comma-separated list of options to
specify details of the instance selection.
-There are no supported pairs: this syntax is reserved for future use.
+Supported pairs are:
+
+``version=<major>.<minor>.<MMMDD>.<BBB>``
+ .. versionadded:: 3.23
+
+ Specify the 4-component VS Build Version.
If the value of ``CMAKE_GENERATOR_INSTANCE`` is not specified explicitly
by the user or a toolchain file, CMake queries the Visual Studio Installer