commit | b5d1914d84cce8e452dc3f6c6638c904030337ea | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Dec 07 15:20:01 2023 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu Dec 07 15:20:08 2023 -0800 |
tree | 50cb79033ec4b084004104264a99dcbd4c708e98 | |
parent | f8f03a90211ae0392c83c9faae9434c015852fac [diff] |
build: Don't libraries in subproject unless needed When being used by a subproject, we only need to build what we are using Change-Id: I1bdb9b447c8a5384c121b093537791340ae8bb60 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