CMAKE_GENERATOR — CMake 3.23.0-rc3 Documentation
cmake.org › latest › variableThe name of the generator that is being used to generate the build files. (e.g. Unix Makefiles, Ninja, etc.) The value of this variable should never be modified by project code. A generator may be selected via the cmake (1) -G option, interactively in cmake-gui (1), or via the CMAKE_GENERATOR environment variable.
CMAKE_GENERATOR — CMake 3.23.0-rc1 Documentation
cmake.org › latest › envvarSpecifies 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:
cmake-generators(7) — CMake 3.23.0-rc3 Documentation
cmake.org › latest › manualCMake Generators are platform-specific so each may be available only on certain platforms. The cmake (1) command-line tool --help output lists available generators on the current platform. Use its -G option to specify the generator for a new build tree. The cmake-gui (1) offers interactive selection of a generator when creating a new build tree.