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: I993c2168790eb5491796bd0c2d2f06616d0142e0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: f8f4abcadd5ec17348c57e8b16f199b7d9212dae
  1. src/
  2. test/
  3. .clang-format
  4. .gitignore
  5. .lcovrc
  6. LICENSE
  7. meson.build
  8. meson.options
  9. OWNERS
  10. README.md
README.md

ipmi-blob-tool

ipmi-blob-tool is a host-side tool that speaks the BLOB protocol over IPMI.

Dependencies

Test cases require google{test,mock}, valgrind, and lcov.

Building

For a standard release build, you want something like:

./bootstrap.sh
./configure --disable-tests
make
make install

For a test / debug build, a typical configuration is

./bootstrap.sh
./configure --enable-tests --enable-coverage --enable-valgrind
make
make check
make check-valgrind
make check-code-coverage