curl / Mailing Lists / curl-library / Single Mail
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

From: Daniel Stenberg via curl-library <>
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

Otherwise you can disable most protocols by making sure
"CURL_DISABLE_[scheme]" are defined for the protocols you don't want included.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-06-22