INSTALL-CMAKE.md: explain `cmake -G <generator-name>`

- Explain that CMake's -G option can be used to specify which build
  system to generate files for.

Example: cmake ../curl -G "MinGW Makefiles"

Ref: https://github.com/curl/curl/pull/12224#issuecomment-2026813645

Closes https://github.com/curl/curl/pull/13244
This commit is contained in:
Jay Satiro 2024-03-31 02:55:50 -04:00
Родитель 6afac4f992
Коммит d36c1a7691
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,13 @@ If you want to build in the source tree, it is enough to do this:
$ cmake . $ cmake .
### Build system generator selection
You can override CMake's default by using `-G <generator-name>`. For example
on Windows with multiple build systems if you have MinGW-w64 then you could use
`-G "MinGW Makefiles"`.
[List of generator names](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html).
## Using `ccmake` ## Using `ccmake`
CMake comes with a curses based interface called `ccmake`. To run `ccmake` CMake comes with a curses based interface called `ccmake`. To run `ccmake`