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.
CMAKE_GENERATOR — CMake 3.23.0-rc3 Documentation
cmake.org › latest › variableCMAKE_GENERATOR. ¶. The generator used to build the project. See cmake-generators (7). The 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 ...
CMAKE_GENERATOR — CMake 3.23.0-rc1 Documentation
cmake.org › latest › envvarCMAKE_GENERATOR. ¶. New in version 3.15. This is a CMake Environment Variable. Its initial value is taken from the calling process environment. 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.