mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
cmake: add CURL_PATCHSTAMP configuration variable, test in CI
Also: - INSTALL-CMAKE.md: alpha sort. Closes #20576
This commit is contained in:
parent
516a0cd382
commit
5edd79aa93
4 changed files with 10 additions and 2 deletions
|
|
@ -239,6 +239,7 @@ target_link_libraries(my_target PRIVATE CURL::libcurl)
|
|||
- `CURL_DEFAULT_SSL_BACKEND`: Override default TLS backend in MultiSSL builds.
|
||||
Accepted values in order of default priority:
|
||||
`wolfssl`, `gnutls`, `mbedtls`, `openssl`, `schannel`, `rustls`
|
||||
- `CURL_DROP_UNUSED`: Drop unused code and data from built binaries. Default: `OFF`
|
||||
- `CURL_ENABLE_EXPORT_TARGET`: Enable CMake export target. Default: `ON`
|
||||
- `CURL_HIDDEN_SYMBOLS`: Hide libcurl internal symbols (=hide all symbols that are not officially external). Default: `ON`
|
||||
- `CURL_LIBCURL_SOVERSION`: Enable libcurl SOVERSION. Default: `ON` for supported platforms
|
||||
|
|
@ -246,7 +247,7 @@ target_link_libraries(my_target PRIVATE CURL::libcurl)
|
|||
- `CURL_LIBCURL_VERSIONED_SYMBOLS_PREFIX`: Override default versioned symbol prefix. Default: `<TLS-BACKEND>_` or `MULTISSL_`
|
||||
- `CURL_LINT`: Run lint checks while building. Default: `OFF`
|
||||
- `CURL_LTO`: Enable compiler Link Time Optimizations. Default: `OFF`
|
||||
- `CURL_DROP_UNUSED`: Drop unused code and data from built binaries. Default: `OFF`
|
||||
- `CURL_PATCHSTAMP`: Set security patch string for `curl -V`/`curl --version` output.
|
||||
- `CURL_STATIC_CRT`: Build libcurl with static CRT with MSVC (`/MT`) (requires UCRT, static libcurl or no curl executable). Default: `OFF`
|
||||
- `CURL_TARGET_WINDOWS_VERSION`: Minimum target Windows version as hex string.
|
||||
- `CURL_WERROR`: Turn compiler warnings into errors. Default: `OFF`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue