| @@ -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` |