clang-format: update latest spec and reformat

Copy the latest format file from the docs repository and apply.

Change-Id: I0ece5d94b94ff23436fcafca2b5423f578c3f6bc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: a868c03a1ff06c841a444a6aab5baa84bfd04c33
  1. example/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .gitignore
  7. .lcovrc
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. 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.

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