aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/CMakeLists.txt
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /contrib/libs/curl/CMakeLists.txt
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'contrib/libs/curl/CMakeLists.txt')
-rw-r--r--contrib/libs/curl/CMakeLists.txt172
1 files changed, 172 insertions, 0 deletions
diff --git a/contrib/libs/curl/CMakeLists.txt b/contrib/libs/curl/CMakeLists.txt
new file mode 100644
index 0000000000..9288e61ad4
--- /dev/null
+++ b/contrib/libs/curl/CMakeLists.txt
@@ -0,0 +1,172 @@
+find_package(OpenSSL)
+find_package(ZLIB)
+find_package(c-ares)
+
+add_library(contrib-libs-curl)
+target_compile_options(contrib-libs-curl PUBLIC
+ -DCURL_STATICLIB
+)
+target_compile_options(contrib-libs-curl PRIVATE
+ -DBUILDING_LIBCURL
+ -DHAVE_CONFIG_H
+ -DARCADIA_CURL_DNS_RESOLVER_ARES
+)
+target_include_directories(contrib-libs-curl PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/include
+)
+target_include_directories(contrib-libs-curl PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib
+)
+target_link_libraries(contrib-libs-curl PUBLIC
+ contrib-libs-libc_compat
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ contrib-libs-nghttp2
+ c-ares::c-ares
+)
+target_sources(contrib-libs-curl PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/altsvc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/amigaos.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-ares.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-thread.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/base64.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/conncache.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/connect.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/content_encoding.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/cookie.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_addrinfo.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ctype.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_des.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_endian.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_fnmatch.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_get_line.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gethostname.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gssapi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_memrchr.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_multibyte.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_core.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_wb.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_path.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_range.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_rtmp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sasl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_threads.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dict.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/doh.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dotdot.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dynbuf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easy.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easygetopt.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easyoptions.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/escape.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/file.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/fileinfo.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/formdata.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftplistparser.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getenv.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getinfo.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/gopher.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hash.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hmac.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostasyn.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostcheck.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip6.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostsyn.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hsts.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_chunks.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_digest.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_negotiate.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_ntlm.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_proxy.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/idn_win32.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/if2ip.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/imap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_ntop.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_pton.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/krb5.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ldap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/llist.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md5.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/memdebug.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mime.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mprintf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mqtt.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/multi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/netrc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/non-ascii.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/nonblock.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/openldap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/parsedate.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pingpong.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pop3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/progress.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/psl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rand.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rename.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rtsp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/select.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sendf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/setopt.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sha256.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/share.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/slist.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smb.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smtp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socketpair.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_gssapi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/speedcheck.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/splay.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strcase.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strdup.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strerror.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtok.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtoofft.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/system_win32.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/telnet.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/tftp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/timeval.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/transfer.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/url.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/urlapi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cleartext.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cram.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_gssapi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/oauth2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_gssapi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_sspi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/vauth.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version_win32.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/ngtcp2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/quiche.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/vquic.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/wolfssh.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/bearssl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/keylog.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/mbedtls_threadlock.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/openssl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/sectransp.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/vtls.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/wolfssl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/warnless.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/wildcard.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/x509asn1.c
+)