aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-02-12 20:00:34 +0200
committerGitHub <noreply@github.com>2019-02-12 20:00:34 +0200
commita32f31fdfaa2cfd3d6578742fba43bfa66049bf1 (patch)
treeb2519269fab446e06278b7b5276428ac8c949e68 /docs
parent627d0d1f3e0ece4a8d4dae1f66cc44b40439b171 (diff)
parent71d174bcbe7ef6d319ee0afd1794073354e1bd35 (diff)
downloadmeson-a32f31fdfaa2cfd3d6578742fba43bfa66049bf1.zip
meson-a32f31fdfaa2cfd3d6578742fba43bfa66049bf1.tar.gz
meson-a32f31fdfaa2cfd3d6578742fba43bfa66049bf1.tar.bz2
Merge pull request #4826 from mensinda/confDefOpts
mconf: Use introspection to print the project default options (fixes #2543)
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Configuring-a-build-directory.md5
-rw-r--r--docs/markdown/snippets/configure_default_opts.md6
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/Configuring-a-build-directory.md b/docs/markdown/Configuring-a-build-directory.md
index 0c7487f..91ad6f7 100644
--- a/docs/markdown/Configuring-a-build-directory.md
+++ b/docs/markdown/Configuring-a-build-directory.md
@@ -111,3 +111,8 @@ you would issue the following command.
Then you would run your build command (usually `ninja`), which would
cause Meson to detect that the build setup has changed and do all the
work required to bring your build tree up to date.
+
+Since 0.50.0, it is also possible to get a list of all build options
+by invoking `meson configure` with the project source directory or
+the path to the root `meson.build`. In this case, meson will print the
+default values of all options similar to the example output from above.
diff --git a/docs/markdown/snippets/configure_default_opts.md b/docs/markdown/snippets/configure_default_opts.md
new file mode 100644
index 0000000..4b88bdf
--- /dev/null
+++ b/docs/markdown/snippets/configure_default_opts.md
@@ -0,0 +1,6 @@
+## meson configure can now print the default options of an unconfigured project
+
+With this release, it is also possible to get a list of all build options
+by invoking `meson configure` with the project source directory or
+the path to the root `meson.build`. In this case, meson will print the
+default values of all options.