You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
option(BUILD_SHARED_LIBS"Build Shared Library (OFF for Static)"ON)
option(BUILD_TESTS"Build the test suite"ON)
option(BUILD_BENCHMARKS"Build the benchmark suite"OFF)
option(BUILD_CLI"Build the command-line interface"ON)
option(BUILD_EXAMPLES"Build library usage example apps"OFF)
option(BUILD_FUZZERS"Build the fuzz targets"OFF)
# Feature enablement and backend selection
set(USE_THREADS ""CACHESTRING"Use threads for parallel processing when possible. One of ON, OFF, or a specific provider: pthreads or win32. (Defaults to ON.)")
set(USE_SSH ""CACHESTRING"Enables SSH support and optionally selects provider. One of ON, OFF, or a specific provider: libssh2 or exec. (Defaults to OFF.)")
set(USE_HTTP ""CACHESTRING"Enable HTTP transport support (covers both http:// and https:// remotes). One of ON or OFF. When OFF, HTTPS is also disabled. (Defaults to ON.)")
set(USE_HTTPS ""CACHESTRING"Enable HTTPS support and optionally selects the provider. One of ON, OFF, or a specific provider: OpenSSL, OpenSSL-FIPS, OpenSSL-Dynamic, mbedTLS, SecureTransport, Schannel, or WinHTTP. (Defaults to ON.)")
set(USE_SHA1 ""CACHESTRING"Selects SHA1 provider. One of builtin, HTTPS, or a specific provider. (Defaults to builtin.)")
set(USE_SHA256 ""CACHESTRING"Selects SHA256 provider. One of Builtin, HTTPS, or a specific provider. (Defaults to HTTPS.)")
set(USE_HTTP_PARSER ""CACHESTRING"Selects HTTP Parser support: http-parser, llhttp, or builtin. (Defaults to builtin.)")
set(USE_AUTH_NTLM ""CACHESTRING"Enables NTLM authentication support. One of Builtin or win32.")
set(USE_AUTH_NEGOTIATE ""CACHESTRING"Enable Negotiate (SPNEGO) authentication support. One of GSSAPI or win32.")
# set(USE_XDIFF "" CACHE STRING "Specifies the xdiff implementation; either system or builtin.")
set(USE_REGEX ""CACHESTRING"Selects regex provider. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
set(USE_COMPRESSION ""CACHESTRING"Selects compression backend. Either builtin or zlib.")
set(USE_NSEC ""CACHESTRING"Enable nanosecond precision timestamps. One of ON, OFF, or a specific provider: mtimespec, mtim, mtime, or win32. (Defaults to ON).")
if(APPLE)
# Currently only available on macOS for `precomposeUnicode` support