Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / variable / CMAKE_GENERATOR.rst
1 CMAKE_GENERATOR
2 ---------------
3
4 The generator used to build the project.  See :manual:`cmake-generators(7)`.
5
6 The name of the generator that is being used to generate the build
7 files.  (e.g.  ``Unix Makefiles``, ``Ninja``, etc.)
8
9 The value of this variable should never be modified by project code.
10 A generator may be selected via the :option:`cmake -G` option,
11 interactively in :manual:`cmake-gui(1)`, or via the :envvar:`CMAKE_GENERATOR`
12 environment variable.