Clone this repo:

Branches

  1. f8dfbb8 test: replace MOCK_CONST_METHOD with MOCK_METHOD by Jayanth Othayoth · 3 months ago master
  2. 6975122 clang-format: update latest spec and reformat by Patrick Williams · 9 months ago
  3. b7edf1c meson: reformat with meson formatter by Patrick Williams · 9 months ago
  4. 3a27d32 README.md: Fix MD040 warnings by George Liu · 1 year, 5 months ago
  5. 1d010e5 build: use allowed over enabled or not-disabled by Patrick Williams · 11 months ago

gpioplus

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

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