commit | d8c0a7ff6db7ae1401bb8c59089257f49c500f65 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Aug 16 14:00:02 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Aug 16 14:28:39 2018 -0700 |
tree | 7508773a7ed786250f5f57971ed6a3f9a32ed723 | |
parent | 8a87555f453bf19c4f5d1b6748b44ebbf6e83691 [diff] |
configure: Fix building with --disable-tests
gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage