summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/reconfigure.md
blob: b4a2dac7c689d7db4bc34c61b0a50e11ed12eb8d (plain)
1
2
3
4
5
6
7
8
9
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.