CMAKE_GENERATOR¶
在 3.15 版被加入.
這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。
Specifies the CMake default generator to use when no generator is supplied
with -G
. If the provided value doesn't name a generator
known by CMake, the internal default is used. Either way the resulting
generator selection is stored in the CMAKE_GENERATOR
variable.
Some generators may be additionally configured using the environment variables: