From 9d651fe61e26c4da87c28511f8ea57fa67ba3fe2 Mon Sep 17 00:00:00 2001 From: Michael Brockus <55331536+michaelbrockus@users.noreply.github.com> Date: Mon, 23 Nov 2020 10:51:16 -0800 Subject: add dependency recommendation [skip ci] Co-authored-by: Eli Schwartz --- docs/markdown/Style-guide.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Style-guide.md b/docs/markdown/Style-guide.md index 04a81e8..240a675 100644 --- a/docs/markdown/Style-guide.md +++ b/docs/markdown/Style-guide.md @@ -20,6 +20,14 @@ in Meson build scripts as identifiers for variable. Let say you would like to refer to your executable so something like `my_exe`. +## Dependency usage + +The `dependency` function is the recommended way to handle dependencies. If your wrap files +have the necessary `[provide]` entries, everything will work automatically both when +compiling your own and when using system dependencies. + +You should only need `subproject` when you need to extract non dependencies/programs. + ## Naming options There are two ways of naming project options. As an example for -- cgit v1.1