xref: /openbmc/gpioplus/README.md (revision 8ff58122)
1# gpioplus
2
3gpioplus is a c++ wrapper around the linux gpio ioctl interface.
4It aims to provide c++ ergonomics to the usage.
5
6## Dependencies
7
8Test cases require google{test,mock}, valgrind, and lcov.
9
10## Building
11For a standard release build, you want something like:
12```
13./bootstrap.sh
14./configure --disable-tests
15make
16make install
17```
18
19For a test / debug build, a typical configuration is
20```
21./bootstrap.sh
22./configure --enable-tests --enable-coverage --enable-valgrind
23make
24make check
25make check-valgrind
26make check-code-coverage
27```
28