commit | a9bf8b70b6a2254f1b8654193e5ad7b8592f46ee | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jun 03 13:38:03 2020 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Jun 03 13:38:07 2020 -0700 |
tree | d25b89bbb63ab8246ced2ad860c6c264b90c4260 | |
parent | d67babcdbe7854b14afb421861c25769519d0fc8 [diff] |
README: Fix for meson instructions The old autotools instructions were left behind and needed to be updated to document how to build with meson. Change-Id: I3165e823601e95e6c15b8b66491e7f6f28b04d4f 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:
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