commit | 1d010e59410eeb718ed1269562ef06cde69aa5e6 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 30 17:48:18 2025 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 30 17:48:18 2025 -0500 |
tree | b631d449d8e528f63f886c0db7628993b6c28cf7 | |
parent | 297b46586853c7970871b52c25cfde6f8235c3d9 [diff] |
build: use allowed over enabled or not-disabled 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`. Switch all uses of `not disabled` to `allowed`. Change-Id: Iffa7471d00b39aebb9c1042045a2678e6eec8a5d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir