]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
INSTALL: Mention how to build as a Meson subproject
authorSimon McVittie <smcv@collabora.com>
Mon, 16 Dec 2024 10:59:20 +0000 (10:59 +0000)
committerSimon McVittie <smcv@collabora.com>
Mon, 16 Dec 2024 10:59:20 +0000 (10:59 +0000)
Signed-off-by: Simon McVittie <smcv@collabora.com>
INSTALL

diff --git a/INSTALL b/INSTALL
index 99ee1b5c08bc96eb166337aca58ddefd2076da29..37769eb90c1b35354c73f013fe1f110e51445143 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -96,6 +96,16 @@ detection, is during packaging of binary builds, where a predictable
 dependancy chain is required. For more details on cmake installation,
 consult http://www.cmake.org/cmake/help/help.html.
 
+Building as a subproject
+========================
+
+libdbus can be built as a Meson subproject, allowing larger projects that
+require it to default to a system copy if available but fall back to a
+vendored or downloaded copy if necessary. When doing this, it is usually
+best to disable the shared library, dbus-daemon, tools and tests, leaving
+only a static library: please see test/use-as-subproject/meson.build for
+sample code and suggested build options.
+
 External software dependencies
 ==============================