Clone this repo:

Branches

  1. 297b465 clang-format: re-format for clang-19 by Patrick Williams · 3 days ago master
  2. b80c584 clang-format: re-format for clang-18 by Patrick Williams · 4 months ago
  3. 9121442 Fix spelling mistakes using codespell by Manojkiran Eda · 6 months ago
  4. 05f5302 meson_options.txt: Support for reading options from meson.options by George Liu · 1 year, 4 months ago
  5. c6b3d0f clang-format: copy latest and re-format by Patrick Williams · 1 year, 2 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