INSTALL-CMAKE.md: document useful build targets

Closes #18927
This commit is contained in:
Viktor Szakats 2025-10-08 11:15:13 +02:00
parent ab761794c1
commit 82fd9edb0e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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.