VS_PLATFORM_TOOLSET

From Get docs
Cmake/docs/3.21/prop tgt/vs platform toolset


VS_PLATFORM_TOOLSET

New in version 3.18.


Overrides the platform toolset used to build a target.

Only supported when the compiler used by the given toolset is the same as the compiler used to build the whole source tree.

This is especially useful to create driver projects with the toolsets "WindowsUserModeDriver10.0" or "WindowsKernelModeDriver10.0".

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/VS_PLATFORM_TOOLSET.html