summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-04-09 15:49:00 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-20 16:26:02 +0300
commit86ad0097484080f2da5d09484f8a6f6a2d5c535e (patch)
treeef21584a1af4c8791c9713f58e967fdf30733f33 /man
parent0f5307a4a67d79fcd920ce2f7d1e40da65dcb846 (diff)
downloadmeson-86ad0097484080f2da5d09484f8a6f6a2d5c535e.tar.gz
man: document "meson setup -D"
Fixes: #810
Diffstat (limited to 'man')
-rw-r--r--man/meson.18
1 files changed, 8 insertions, 0 deletions
diff --git a/man/meson.1 b/man/meson.1
index 2c8da27a9..b78cf968f 100644
--- a/man/meson.1
+++ b/man/meson.1
@@ -40,6 +40,14 @@ your build dir. After that you just run the build command. Meson will
autodetect changes in your source tree and regenerate all files
needed to build the project.
+Meson includes many built-in options that can be used to tweak the
+configuration of a build directory; projects can also add their
+own options. To set values for the options, use the \-D command
+line argument like this:
+
+.B meson setup \-Dopt1=value1 \-Dopt2=value2
+.I rest of the command line...
+
.SS "options:"
.TP
\fB\-\-version\fR