From 3b4c20fe517c23fbe8d1418ee3cdb98b59b2fd30 Mon Sep 17 00:00:00 2001 From: Brandon Kim Date: Thu, 6 Feb 2020 16:08:31 -0800 Subject: README.md: Update documentation for using meson The README was outdated and was pointing to using automake instead of meson. Change-Id: Id8dcf2cdb1a5546a56e77328342779e10cedea20 Signed-off-by: Brandon Kim --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 496b6b5..65129ad 100644 --- a/README.md +++ b/README.md @@ -13,23 +13,18 @@ This project provides the following primitives: ## Dependencies -Test cases require google{test,mock}, valgrind, and lcov. +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](https://mesonbuild.com/Getting-meson.html). ## Building For a standard release build, you want something like: ``` -./bootstrap.sh -./configure --disable-examples --disable-tests -make -make install +meson setup -Dexamples=false -Dtests=disabled builddir +ninja -C builddir +ninja -C builddir 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 +meson setup -Dtests=enabled builddir +meson test -C builddir ``` -- cgit v1.2.3