]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
INSTALL-CMAKE.md: document useful build targets
authorViktor Szakats <commit@vsz.me>
Wed, 8 Oct 2025 09:15:13 +0000 (11:15 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 8 Oct 2025 10:53:49 +0000 (12:53 +0200)
Closes #18927

docs/INSTALL-CMAKE.md

index 4c7875252198dc4f7061d925c002da106425f61c..071c89888296152daa55dcc8ba42ad57457186e1 100644 (file)
@@ -499,6 +499,26 @@ the feature detection is performed.
 
 Note: These variables are internal and subject to change.
 
+## Useful build targets
+
+- `testdeps`:               Build test dependencies (servers, tools, test certificates).
+                            Individual targets: `curlinfo`, `libtests`, `servers`, `tunits`, `units`
+                            Test certificates: `build-certs`, `clean-certs`
+- `tests`:                  Run tests (`runtests.pl`). Customize via the `TFLAGS` environment variable, e.g. `TFLAGS=1621`.
+                            Other flavors: `test-am`, `test-ci`, `test-event`, `test-full`, `test-nonflaky`, `test-quiet`, `test-torture`
+- `curl-pytest`:            Run tests (pytest).
+                            Other flavor: `curl-test-ci`
+- `curl-examples`:          Build examples
+                            Individual targets: `curl-example-<name>`,
+                            where <name> is the .c filename without extension.
+- `curl-examples-build`:    Build examples quickly but without the ability to run them (for build tests)
+- `curl-man`:               Build man pages (built by default unless disabled)
+- `curl_uninstall`:         Uninstall curl
+- `curl-completion-fish`:   Build shell completions for fish (built by default if enabled)
+- `curl-completion-zsh`:    Build shell completions for zsh (built by default if enabled)
+- `curl-ca-bundle`:         Build the CA bundle via `scripts/mk-ca-bundle.pl`
+- `curl-ca-firefox`:        Build the CA bundle via `scritps/firefox-db2pem.sh`
+
 # Migrating from Visual Studio IDE Project Files
 
 We recommend using CMake to build curl with MSVC.