W3cubDocs

/CMake 3.19

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–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/prop_tgt/VS_PLATFORM_TOOLSET.html