commit | 48e6288da8486a25fd52e944fb0f7148fc1c02db | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Apr 03 15:36:01 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Apr 03 15:36:25 2019 -0700 |
tree | bccc5bfddcc1bc1457a1625f0a4a6fa85e1916e4 | |
parent | 9dd00de7066cb20972e641b5885d2de302f00956 [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: Ib042c253adedb6f949c8a8897ed9a34e61d2a888 Signed-off-by: William A. Kennington III <wak@google.com>
gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.
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