From 89fe81835b190a897eaa484d82551b37cf2a6a01 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 25 Jan 2023 13:32:58 -0500 Subject: Allow --reconfigure and --wipe of empty builddir This allows to run setup command regardless whether the builddir has been configured or not previously. This is useful for example with scripts that always repeat all options. meson setup builddir --reconfigure -Dfoo=bar --- docs/markdown/snippets/reconfigure.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/reconfigure.md (limited to 'docs/markdown') diff --git a/docs/markdown/snippets/reconfigure.md b/docs/markdown/snippets/reconfigure.md new file mode 100644 index 0000000..b4a2dac --- /dev/null +++ b/docs/markdown/snippets/reconfigure.md @@ -0,0 +1,10 @@ +## Allow --reconfigure and --wipe of empty builddir + +`meson setup --reconfigure builddir` and `meson setup --wipe builddir` are now +accepting `builddir/` to be empty or containing a previously failed setup attempt. +Note that in that case previously passed command line options must be repeated +as only a successful build saves configured options. + +This is useful for example with scripts that always repeat all options, +`meson setup builddir --wipe -Dfoo=bar` will always work regardless whether +it is a first invocation or not. -- cgit v1.1