diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-12 20:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 20:00:34 +0200 |
commit | a32f31fdfaa2cfd3d6578742fba43bfa66049bf1 (patch) | |
tree | b2519269fab446e06278b7b5276428ac8c949e68 /docs | |
parent | 627d0d1f3e0ece4a8d4dae1f66cc44b40439b171 (diff) | |
parent | 71d174bcbe7ef6d319ee0afd1794073354e1bd35 (diff) | |
download | meson-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.md | 5 | ||||
-rw-r--r-- | docs/markdown/snippets/configure_default_opts.md | 6 |
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. |