From: Jay Satiro Date: Sun, 31 Mar 2024 06:55:50 +0000 (-0400) Subject: INSTALL-CMAKE.md: explain `cmake -G ` X-Git-Tag: curl-8_8_0~316 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d36c1a769164e509fed08de6910ac395ecaa4a50;p=thirdparty%2Fcurl.git INSTALL-CMAKE.md: explain `cmake -G ` - 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 --- diff --git a/docs/INSTALL-CMAKE.md b/docs/INSTALL-CMAKE.md index 74c8094656..37231f9e45 100644 --- a/docs/INSTALL-CMAKE.md +++ b/docs/INSTALL-CMAKE.md @@ -66,6 +66,13 @@ If you want to build in the source tree, it is enough to do this: $ cmake . +### Build system generator selection + +You can override CMake's default by using `-G `. 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` CMake comes with a curses based interface called `ccmake`. To run `ccmake`