The previous code was assuming that options do not depend on each other, and that you can set defaults using `dict.setdefault()`. This is not true for `buildtype` + `optimization`/`debug`, so we add defaults + overrides in the right order and use the options parsing code later to compute the values. Includes a test. Closes https://github.com/mesonbuild/meson/issues/6752pull/6776/head
parent
bc135f6c4d
commit
c7aa4c8861
3 changed files with 32 additions and 9 deletions
Loading…
Reference in new issue