Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Building libcurl (not the commandline tool) with cmake
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 22 Jun 2023 16:43:26 +0200 (CEST)
On Tue, 20 Jun 2023, Michael Hartmann via curl-library wrote:
> The file "docs/INSTALL.cmake" mentions that it's currently not possible to
> build libcurl with cmake and disable specific protocols. We only need HTTP/S
> right now, so is there no way? We're trying to keep our binary as small as
> possible, so building without FTP, IMAP, etc., would be helpful.
Use configure instead? It is more feature complete and offers more
flexibility.
Otherwise you can disable most protocols by making sure
"CURL_DISABLE_[scheme]" are defined for the protocols you don't want included.
Date: Thu, 22 Jun 2023 16:43:26 +0200 (CEST)
On Tue, 20 Jun 2023, Michael Hartmann via curl-library wrote:
> The file "docs/INSTALL.cmake" mentions that it's currently not possible to
> build libcurl with cmake and disable specific protocols. We only need HTTP/S
> right now, so is there no way? We're trying to keep our binary as small as
> possible, so building without FTP, IMAP, etc., would be helpful.
Use configure instead? It is more feature complete and offers more
flexibility.
Otherwise you can disable most protocols by making sure
"CURL_DISABLE_[scheme]" are defined for the protocols you don't want included.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-06-22