curl/CMake
Viktor Szakats 8b09138083
cmake: minor tidy-ups
- show `OpenSSL v3+` when detected (as in `./configure`).
  (this string also makes its way to `curl-config`.)
- prefer `unset(VAR)` over `set(VAR)`.
  Same effect, but `unset()` tells the intent unambiguously.
  https://cmake.org/cmake/help/latest/command/set.html
- drop "implementation" from an `option()` description.
- FindGSS: replace legacy keyword alias with modern alternative.
  https://cmake.org/cmake/help/latest/command/get_filename_component.html
- move `CURL_STATIC_CRT` logic next to its `option()`.
- improve order of `libcurl.pc`/`curl-config` variable init lines.
- tests: drop/shorten custom target names.
  They inflated generated make files by 550KB.
  Keep target name logic for sync between code snippets.
  Follow-up to a2ef5d36b3 #14660
- clear a variable after use.
- restore `STATUS` for `Features:`/`Protocols:` `message()`s:
  Without it the output goes to stderr, and appears in red in CMake GUI.
  It doesn't seem possible to show a line on stdout without leading
  underscores to match `curl -V` and `./configure` output.
  Partial revert of acbc6b703f #14197
- WindowsCache: move `HAVE_LINUX_TCP_H` into the header group.
- move strings to the same line as their `STRING` keyword.
- formatting in generated code.
- delete bogus comment.
- unfold lines for readability.
- fix a too long line. (for cmakelint)
- missing quotes, whitespace, comments.

Closes #14610
2024-08-26 11:00:08 +02:00
..
Platforms cmake: minor tidy-ups 2024-08-26 11:00:08 +02:00
cmake_uninstall.cmake.in cmake: more small tidy-ups and fixes 2024-08-08 13:48:28 +02:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: minor tidy-ups 2024-08-26 11:00:08 +02:00
CurlSymbolHiding.cmake cmake: tidy up option descriptions 2024-08-21 23:36:12 +02:00
CurlTests.c cmake: tidy-ups 2024-08-03 20:49:15 +02:00
FindBearSSL.cmake cmake: fix Find module and package names 2024-08-20 00:44:43 +02:00
FindBrotli.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindCares.cmake cmake: rename Find modules 2024-08-20 00:50:10 +02:00
FindGSS.cmake cmake: minor tidy-ups 2024-08-26 11:00:08 +02:00
FindLibgsasl.cmake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
FindLibidn2.cmake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
FindLibpsl.cmake cmake: rename Find modules 2024-08-20 00:50:10 +02:00
FindLibssh2.cmake cmake: rename Find modules 2024-08-20 00:50:10 +02:00
FindLibssh.cmake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
FindLibuv.cmake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
FindMbedTLS.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindMSH3.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindNettle.cmake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
FindNGHTTP2.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindNGHTTP3.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindNGTCP2.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindQuiche.cmake cmake: rename Find modules 2024-08-20 00:50:10 +02:00
FindRustls.cmake cmake: rename Find modules 2024-08-20 00:50:10 +02:00
FindWolfSSH.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindWolfSSL.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
FindZstd.cmake cmake: tidy up more in Find modules 2024-08-18 22:53:09 +02:00
Macros.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
OtherTests.cmake cmake: minor tidy-ups 2024-08-26 11:00:08 +02:00
PickyWarnings.cmake build: use -Wno-format-overflow 2024-08-19 23:20:45 +02:00
Utilities.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00