curl/CMake
Viktor Szakats d68a121266
cmake: improve wolfSSL detection
- support detecting wolfSSL via pkg-config (like autotools.)

- detect wolfSSL version.

- detect `HAVE_WOLFSSL_DES_ECB_ENCRYPT`.
  (needs e.g. `--enable-curl` when building wolfSSL)

- detect `HAVE_WOLFSSL_FULL_BIO` and enable HTTPS-proxy feature.
  (needs e.g. `--enable-opensslall` when building wolfSSL)

- fix to show `HTTPS-proxy` in cmake feature list.
  Ref: 55807e6c05 #9962

- fix to show `NTLM` in cmake feature list.

- fix to show `smb` and `smbs` in cmake protocol list.

- add wolfSSL CMake job to GHA (for macOS).

- fix mqtt and wolfSSL symbol clash.
  ```
  ./curl/lib/mqtt.c: In function 'mqtt_doing':
  ./curl/lib/mqtt.c:746:17: error: declaration of 'byte' shadows a global declaration [-Werror=shadow]
    746 |   unsigned char byte;
        |                 ^~~~
  /opt/homebrew/Cellar/wolfssl/5.7.0_1/include/wolfssl/wolfcrypt/types.h:85:36: note: shadowed declaration is here
     85 |             typedef unsigned char  byte;
        |                                    ^~~~
  ```

- format `FindWolfSSL.cmake` closer to neighbours.

Closes #14064
2024-07-01 17:49:14 +02:00
..
Platforms socketpair: add eventfd and use SOCK_NONBLOCK for socketpair() 2024-06-04 23:45:36 +02:00
cmake_uninstall.cmake.in
CMakeConfigurableFile.in
curl-config.cmake.in cmake: bring curl-config.cmake closer to FindCURL 2024-06-13 11:17:32 +02:00
CurlSymbolHiding.cmake build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
CurlTests.c cmake: fix HAVE_IOCTLSOCKET_FIONBIO test with gcc 14 2024-05-11 10:56:37 +02:00
FindBearSSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindBrotli.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindCARES.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindGSS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibPSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibSSH2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMbedTLS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMSH3.cmake
FindNGHTTP2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindNGHTTP3.cmake
FindNGTCP2.cmake
FindQUICHE.cmake
FindWolfSSL.cmake cmake: improve wolfSSL detection 2024-07-01 17:49:14 +02:00
FindZstd.cmake cmake: speed up zstd detection 2023-10-27 00:37:34 +00:00
Macros.cmake docs: ascii version of manpage without nroff 2024-03-06 15:55:59 +01:00
OtherTests.cmake cmake: tidy-up OtherTests.cmake 2023-12-19 12:45:24 +00:00
PickyWarnings.cmake cmake: enable -pedantic-errors for clang when CURL_WERROR=ON 2024-04-05 13:05:36 +00:00
Utilities.cmake cmake: fix function description in comment [ci skip] 2024-02-06 22:20:33 +00:00