CMAKE__COMPILER_LAUNCHER

From Get docs
Cmake/docs/3.21/envvar/cmake lang compiler launcher


CMAKE__COMPILER_LAUNCHER

New in version 3.17.


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

Default compiler launcher to use for the specified language. Will only be used by CMake to initialize the variable on the first configuration. Afterwards, it is available through the cache setting of the variable of the same name. For any configuration run (including the first), the environment variable will be ignored if the CMAKE__COMPILER_LAUNCHER variable is defined.

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