CMAKE_GENERATOR.rst 574 B

123456789101112131415161718
  1. CMAKE_GENERATOR
  2. ---------------
  3. .. versionadded:: 3.15
  4. .. include:: ENV_VAR.txt
  5. Specifies the CMake default generator to use when no generator is supplied
  6. with :option:`-G <cmake -G>`. If the provided value doesn't name a generator
  7. known by CMake, the internal default is used. Either way the resulting
  8. generator selection is stored in the :variable:`CMAKE_GENERATOR` variable.
  9. Some generators may be additionally configured using the environment
  10. variables:
  11. * :envvar:`CMAKE_GENERATOR_PLATFORM`
  12. * :envvar:`CMAKE_GENERATOR_TOOLSET`
  13. * :envvar:`CMAKE_GENERATOR_INSTANCE`