source/*: Use unique_function so our callbacks can be move-only

This will allow move-only types like unique_ptr to be used in callbacks.

Change-Id: Ia99925cea3bf96e3c213ba0fe093cc6ab3f5a421
Signed-off-by: William A. Kennington III <wak@google.com>
14 files changed
tree: 67717012e4a4ac98d5b27373b2b72d996e693b52
  1. example/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-ignore
  7. .clang-tidy
  8. .gitignore
  9. .lcovrc
  10. LICENSE
  11. MAINTAINERS
  12. meson.build
  13. meson_options.txt
  14. README.md
README.md

sdeventplus

sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.

Dependencies

The sdeventplus library requires a libsystemd development package on the system for sd-event.

Building

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