6 .. include:: ENV_VAR.txt
8 Specifies the CMake default generator to use when no generator is supplied
9 with ``-G``. If the provided value doesn't name a generator known by CMake,
10 the internal default is used. Either way the resulting generator selection
11 is stored in the :variable:`CMAKE_GENERATOR` variable.
13 Some generators may be additionally configured using the environment
16 * :envvar:`CMAKE_GENERATOR_PLATFORM`
17 * :envvar:`CMAKE_GENERATOR_TOOLSET`
18 * :envvar:`CMAKE_GENERATOR_INSTANCE`