cmake/Help/envvar/CMAKE_GENERATOR.rst

19 lines
574 B
ReStructuredText
Raw Normal View History

2019-11-11 23:01:05 +01:00
CMAKE_GENERATOR
---------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.15
2019-11-11 23:01:05 +01:00
.. include:: ENV_VAR.txt
Specifies the CMake default generator to use when no generator is supplied
2022-11-16 20:14:03 +01:00
with :option:`-G <cmake -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.
2019-11-11 23:01:05 +01:00
Some generators may be additionally configured using the environment
variables:
* :envvar:`CMAKE_GENERATOR_PLATFORM`
* :envvar:`CMAKE_GENERATOR_TOOLSET`
* :envvar:`CMAKE_GENERATOR_INSTANCE`