#
f66af623 |
| 24-Oct-2024 |
Viktor Szakats |
cmake: document `-D` and env build options Extend `INSTALL-CMAKE` document with the list of available options, a short description and default values. The list may not be 100% c
cmake: document `-D` and env build options Extend `INSTALL-CMAKE` document with the list of available options, a short description and default values. The list may not be 100% complete. There are no component boundaries in CMake, so the line is blurry between curl options, CMake options, CMake Find modules options. I included certain CMake options that seemed useful, and/or have dedicated use withing curl's CMake source. But, all CMake built-in options are usable, as documented upstream in CMake. The naming of the options has a heritage and the inconsistencies with it, including a lack of clear namespace. This may be subject to future updates, also after figuring out which name has special meaning within CMake and/or CMake projects out of unwritten convention or something more tangible. CMake allows to initialize any internal variable via `-D`. This may be useful to pre-initialize/override feature check results. The list doesn't contain these, and they remain officially undocumented. Also: - make adjustments to keep the spellchecker happy. - retrofit description changes to the cmake sources. - stop documenting deprecated `Find*` variables. Reported-by: Daniel Stenberg Fixes https://github.com/curl/curl/discussions/14885 Closes #15388
show more ...
|
#
096bfdef |
| 22-Oct-2024 |
Viktor Szakats |
cmake/FindCares: fix version detection for c-ares 1.34.1 Due to a regression in c-ares 1.34.1, the non-pkg-config version detection method broke for this version. c-ares 1.34.2 fixes it,
cmake/FindCares: fix version detection for c-ares 1.34.1 Due to a regression in c-ares 1.34.1, the non-pkg-config version detection method broke for this version. c-ares 1.34.2 fixes it, but update our detection code anyway to also work with 1.34.1. Ref: https://github.com/c-ares/c-ares/commit/126e2741592ce3f88bce8b85e0c405a12a014253 https://github.com/c-ares/c-ares/pull/903 Closes #15368
show more ...
|
#
211cbcb4 |
| 19-Aug-2024 |
Viktor Szakats |
cmake: rename Find modules - `FindCARES` -> `FindCares` - `FindLibPSL` -> `FindLibpsl` - `FindLibSSH2` -> `FindLibssh2` - `FindQUICHE` -> `FindQuiche` - `Findrustls` ->
cmake: rename Find modules - `FindCARES` -> `FindCares` - `FindLibPSL` -> `FindLibpsl` - `FindLibSSH2` -> `FindLibssh2` - `FindQUICHE` -> `FindQuiche` - `Findrustls` -> `FindRustls` Our convention for naming Find modules (the part after the `Find` prefix, also called as 'package name') is: Always start with uppercase. Follow with lowercase, unless there is a clear preference for a stylized name. E.g. the project itself uses it that way with a matching `<Name>Config.cmake` file, or we use it that way elsewhere, or the name is an acronym. Ref: #14580 Closes #14601
show more ...
|