add dependency recommendation [skip ci]

Co-authored-by: Eli Schwartz <eschwartz@archlinux.org>
pull/7773/merge
Michael Brockus 4 years ago committed by GitHub
parent 58640bdff9
commit 9d651fe61e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      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

Loading…
Cancel
Save