commit | 833b7064891974a77e3d197e98bb64d5ca4ad61c | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:43:54 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Dec 13 20:52:52 2023 -0600 |
tree | b7033512a247c6d6de2b4b32520d796970e68271 | |
parent | ea46f3ca61dd12b210a74cf78e464c78e0987a47 [diff] |
build: use allowed over enabled Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto. Switch all uses of `enabled` to `allowed`. Change-Id: I114b084eb227d4a767e404c14e4f3a613a5b83d6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage