commit | 97e394714ec7e88b13b2675c859c1ef56771ad24 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Apr 03 13:22:32 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed Apr 03 13:40:41 2019 -0700 |
tree | 793a59cfe69034d12711d015976028796cf32e02 | |
parent | 5d71775cbfb0a3d70565018ca90ac7d254a3fe2d [diff] |
meson: Use declare_dependency for libraries Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency. Change-Id: I9bbf33d32057964011fd8387e742e0d92117f848 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.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-examples --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