commit | 01db662ac12b9dd97082b3e56e43ea164f77d310 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Sun Jan 31 15:24:13 2021 -0800 |
committer | William A. Kennington III <wak@google.com> | Sun Jan 31 17:57:35 2021 -0800 |
tree | c948f5a550a320942a00b9dbd97ab68a51f3c4f6 | |
parent | f65edcbd1303fd61c5c06c7ac61a9759e568674f [diff] |
test/catch2: Use split headers and static library This is required for compatability with Catch2 3.x Change-Id: I53ecff8911345e8f037aee825b7abf30b90552d2 Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
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