From 90bc125d2952e281ec47c366b83f034f8a1f6993 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Fri, 25 Jan 2019 12:21:32 +0100 Subject: mconf: Use introspection to print the project default options (fixes #2543) --- docs/markdown/Configuring-a-build-directory.md | 5 +++++ docs/markdown/snippets/configure_default_opts.md | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/configure_default_opts.md (limited to 'docs/markdown') 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. -- cgit v1.1