commit | a97cdd1a516c8432ca3fd7a331a9a7e70838ba77 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 30 17:47:48 2025 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 30 17:47:48 2025 -0500 |
tree | f4c630ed59ea36ab047769f61ff9499a4debb982 | |
parent | b111364f7bf3cb00dad11ceb39929d8fbf96144d [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: I36000eca286be412b84f039420ecf45b4cc411aa Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires a libsystemd development package on the system for sd-event.
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