CMAKE_EXTRA_GENERATOR — CMake 3.31.3 Documentation

# CMAKE_EXTRA_GENERATOR

Deprecated since version 3.27: Support for Extra Generators is deprecated and will be removed from a future version of CMake. IDEs may use the `cmake-file-api(7)` to view CMake-generated project build trees.

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

When using the Eclipse, CodeBlocks, CodeLite, Kate or Sublime generators, CMake generates Makefiles (`CMAKE_GENERATOR`) and additionally project files for the respective IDE. This IDE project file generator is stored in `CMAKE_EXTRA_GENERATOR` (e.g. `Eclipse CDT4`).