Clone this repo:

Branches

  1. 05f5302 meson_options.txt: Support for reading options from meson.options by George Liu · 9 months ago master
  2. c6b3d0f clang-format: copy latest and re-format by Patrick Williams · 7 months ago
  3. 0f68a6f build: upgrade to C++23 by Patrick Williams · 10 months ago
  4. ab995c5 fd: avoid move-to-self by Patrick Williams · 10 months ago
  5. 0ceda04 add cstdint include by Patrick Williams · 10 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