aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/msetup.md
blob: f68313d67477108e1fb25b63cdedeab5971a1d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## Update options with `meson setup <builddir> -Dopt=value`

If the build directory already exists, options are updated with their new value
given on the command line (`-Dopt=value`). Unless `--reconfigure` is also specified,
this won't reconfigure immediately. This has the same behaviour as
`meson configure <builddir> -Dopt=value`.

Previous Meson versions were simply a no-op.

## Clear persistent cache with `meson setup --clearcache`

Just like `meson configure --clearcache`, it is now possible to clear the cache
and reconfigure in a single command with `meson setup --clearcache --reconfigure <builddir>`.