diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-25 12:21:32 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-25 12:21:32 +0100 |
commit | 90bc125d2952e281ec47c366b83f034f8a1f6993 (patch) | |
tree | d1dc2ba002cbb0f08a5aca78b37ab5cc77ec3d63 /docs | |
parent | 28edc7ef61f6c4cdc74f68128a4b3f97bda060a6 (diff) | |
download | meson-90bc125d2952e281ec47c366b83f034f8a1f6993.zip meson-90bc125d2952e281ec47c366b83f034f8a1f6993.tar.gz meson-90bc125d2952e281ec47c366b83f034f8a1f6993.tar.bz2 |
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. |