commit | 8ec59e6242c3c4752033ea69270e4edb2cd4caec | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Apr 03 13:38:17 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Apr 03 13:38:33 2019 -0700 |
tree | e9440f8adca45d4c311415ce16475a73b604d609 | |
parent | 5457dae0cf7e9c4e97ee558f1a793d6fc2609ef5 [diff] |
meson: Use declare_dependency for libraries Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency. Change-Id: Ife3bcd3dcbd423f08c513f9a05fc8cabff41e2f6 Signed-off-by: William A. Kennington III <wak@google.com>
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires libsystemd for sd-event.
Test cases require google{test,mock}, valgrind, and lcov.
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