commit | 778baa2ae066d95b417bc0da4637155789562b9d | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jun 03 13:38:57 2020 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Jun 03 13:39:04 2020 -0700 |
tree | 9fc111850539f24fdce4473d492c8fbd442e138d | |
parent | a9bf8b70b6a2254f1b8654193e5ad7b8592f46ee [diff] |
meson: Don't build tests or examples in subprojects When being included in a subproject these are not helpful and just slow down the build process. Change-Id: I613bee1a630809bf16314418ac401ff0aa8db5fd Signed-off-by: William A. Kennington III <wak@google.com>
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:
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