diff options
author | Brad King <brad.king@kitware.com> | 2022-12-07 22:46:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-12-07 22:46:07 (GMT) |
commit | 55529c5e93f2a15d16ab90b799d5ab75c28d0422 (patch) | |
tree | 5ad29a72c635ae069746de8f2576803e9bed0ed0 /Help | |
parent | 127fa54808acd80b658409758533c2522f6a1c19 (diff) | |
download | CMake-55529c5e93f2a15d16ab90b799d5ab75c28d0422.zip CMake-55529c5e93f2a15d16ab90b799d5ab75c28d0422.tar.gz CMake-55529c5e93f2a15d16ab90b799d5ab75c28d0422.tar.bz2 |
Help: Factor out VS Build Number components document fragment
Diffstat (limited to 'Help')
-rw-r--r-- | Help/variable/CMAKE_GENERATOR_INSTANCE.rst | 18 | ||||
-rw-r--r-- | Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt | 18 |
2 files changed, 19 insertions, 17 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst index 6bfabe0..0607843 100644 --- a/Help/variable/CMAKE_GENERATOR_INSTANCE.rst +++ b/Help/variable/CMAKE_GENERATOR_INSTANCE.rst @@ -43,24 +43,8 @@ Supported pairs are: .. versionadded:: 3.23 Specify the 4-component VS Build Version, a.k.a. Build Number. - The components are: - ``<major>.<minor>`` - - The VS major and minor version numbers. - These are the same as the release version numbers. - - ``<date>`` - - A build date in the format ``MMMDD``, where ``MMM`` is a month index - since an epoch used by Microsoft, and ``DD`` is a day in that month. - - ``<build>`` - - A build index on the day represented by ``<date>``. - - The build number is reported by ``vswhere`` as ``installationVersion``. - For example, VS 16.11.10 has build number ``16.11.32126.315``. + .. include:: CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt .. versionadded:: 3.23 diff --git a/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt new file mode 100644 index 0000000..6bdede7 --- /dev/null +++ b/Help/variable/CMAKE_VS_VERSION_BUILD_NUMBER_COMPONENTS.txt @@ -0,0 +1,18 @@ +The components are: + +``<major>.<minor>`` + + The VS major and minor version numbers. + These are the same as the release version numbers. + +``<date>`` + + A build date in the format ``MMMDD``, where ``MMM`` is a month index + since an epoch used by Microsoft, and ``DD`` is a day in that month. + +``<build>`` + + A build index on the day represented by ``<date>``. + +The build number is reported by ``vswhere`` as ``installationVersion``. +For example, VS 16.11.10 has build number ``16.11.32126.315``. |