From Get docs
Cmake/docs/3.21/envvar/cmake generator toolset


New in version 3.15.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Default value for CMAKE_GENERATOR_TOOLSET if no Cache entry is present and no value is specified by cmake(1) -T option. This value is only applied if CMAKE_GENERATOR is set.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.