mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 20:29:56 -06:00
Documentation for environment variables that control the default generator selection: * CMAKE_GENERATOR * CMAKE_GENERATOR_INSTANCE * CMAKE_GENERATOR_PLATFORM * CMAKE_GENERATOR_TOOLSET
17 lines
533 B
ReStructuredText
17 lines
533 B
ReStructuredText
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`
|