aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Brockus <55331536+michaelbrockus@users.noreply.github.com>2020-11-23 10:51:16 -0800
committerGitHub <noreply@github.com>2020-11-23 13:51:16 -0500
commit9d651fe61e26c4da87c28511f8ea57fa67ba3fe2 (patch)
tree9b057d7be39d3647b1f99fc8620f8ff1645e26df /docs
parent58640bdff900e463956cc2bb8366bc57a622c977 (diff)
downloadmeson-9d651fe61e26c4da87c28511f8ea57fa67ba3fe2.zip
meson-9d651fe61e26c4da87c28511f8ea57fa67ba3fe2.tar.gz
meson-9d651fe61e26c4da87c28511f8ea57fa67ba3fe2.tar.bz2
add dependency recommendation [skip ci]
Co-authored-by: Eli Schwartz <eschwartz@archlinux.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Style-guide.md8
1 files changed, 8 insertions, 0 deletions
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