summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/variable/CMAKE_GENERATOR.rst
blob: ec52cd4d8603ac8a299e0ed73e4f0c7421137d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CMAKE_GENERATOR
---------------

The generator used to build the project.  See :manual:`cmake-generators(7)`.

The name of the generator that is being used to generate the build
files.  (e.g.  ``Unix Makefiles``, ``Ninja``, etc.)

The value of this variable should never be modified by project code.
A generator may be selected via the :manual:`cmake(1)` ``-G`` option,
interactively in :manual:`cmake-gui(1)`, or via the :envvar:`CMAKE_GENERATOR`
environment variable.