https://github.com/Kitware/CMake
Raw File
Tip revision: 44b8937b7614560d9e88d25456c8394b4b209d51 authored by Brad King on 05 February 2020, 14:19:24 UTC
CMake 3.16.4
Tip revision: 44b8937
CMAKE_GENERATOR.rst
CMAKE_GENERATOR
---------------

.. include:: ENV_VAR.txt

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 :variable:`CMAKE_GENERATOR` variable.

Some generators may be additionally configured using the environment
variables:

* :envvar:`CMAKE_GENERATOR_PLATFORM`
* :envvar:`CMAKE_GENERATOR_TOOLSET`
* :envvar:`CMAKE_GENERATOR_INSTANCE`
back to top