summaryrefslogtreecommitdiffstats
path: root/Help/envvar/CMAKE_GENERATOR.rst
blob: f2d055f10fa0ccd0222f94d6e6c051ba9c610695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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`