INSTALL: Mention how to build as a Meson subproject

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2024-12-16 10:59:20 +00:00
parent 25e370ce8f
commit f1a4c1c481

10
INSTALL
View file

@ -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
==============================