From 2c1e625a6f6b8eafbdfcef6408407e08c63949bd Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 19 Jun 2026 22:32:06 +0200 Subject: [PATCH] INSTALL.md: add building-from-source overview section Ref: #22098 Closes #22113 --- docs/INSTALL.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 467aa64c05..1d3f1205aa 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -13,6 +13,24 @@ document does not describe how to install curl or libcurl using such a binary package. This document describes how to compile, build and install curl and libcurl from [source code](https://curl.se/download.html). +## Building from source + +You can use autotools or CMake to build curl from source. They work equally +well and have close to feature parity. + +autotools' advantages are wide portability and the Unix philosophy, while +CMake typically has faster configuration and build times, and supports MSVC. + +Option defaults and dependency detection details may differ. + +With both build tools, some features require Perl, and the pytest test suite +requires Python. + +You can find live examples for both tools and many build cases in curl's CI +scripts: `.github/workflows/*.yml`, `.circleci/*.yml` and `appveyor.*` (in the +Git repository only). For CMake-specific instructions, see +[INSTALL-CMAKE.md](https://github.com/curl/curl/blob/master/docs/INSTALL-CMAKE.md). + ## Building using vcpkg You can download and install curl and libcurl using