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>
1 file changed
tree: d25b89bbb63ab8246ced2ad860c6c264b90c4260
  1. example/
  2. src/
  3. test/
  4. .clang-format
  5. .lcovrc
  6. LICENSE
  7. MAINTAINERS
  8. meson.build
  9. meson_options.txt
  10. README.md
README.md

gpioplus

gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.

Dependencies

Test cases require google{test,mock}, valgrind, and lcov.

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