mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Add new `version=` parameter in the toolset setting to select the version. Add variable `CMAKE_VS_PLATFORM_TOOLSET_VERSION` to hold the version, if one is set (blank indicates default). Fixes: #17549
12 lines
484 B
ReStructuredText
12 lines
484 B
ReStructuredText
CMAKE_VS_PLATFORM_TOOLSET_VERSION
|
|
---------------------------------
|
|
|
|
Visual Studio Platform Toolset version.
|
|
|
|
The :ref:`Visual Studio Generators` for VS 2017 and above allow to
|
|
select minor versions of the same toolset. The toolset version number
|
|
may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of
|
|
the form ``version=14.11``. If none is specified CMake will choose a default
|
|
toolset. The value may be empty if no minor version was selected and the
|
|
default is used.
|