CMAKE_GENERATOR.rst 557 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 ``-G``. If the provided value doesn't name a generator known by CMake,
  7. the internal default is used. Either way the resulting generator selection
  8. 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`