From 961da7b48e2fb5d845009686ccea4407af562fd1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 2 Feb 2024 14:15:19 +0800 Subject: [PATCH] README: Add -Dtests configuration details May help with avoiding dependencies for distro builds. Signed-off-by: Jeremy Kerr --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 89073c7..d59d441 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,13 @@ For integration with systemd, there are a few example configuration files and systemd target definitions under the `conf/` directory. These are not installed by default. +By default, `meson` is configured to enable tests, which requires a few extra +dependencies (mainly `pytest`, python libraries, and `dbus-run-session`). In +cases where the tests are not required, you can avoid these dependencies by +configuring the build tree with `-Dtests=false`: + + $ meson setup obj -Dtests=false + `mctp` Usage -------------