summaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-10-06 17:33:12 +0300
committerGitHub <noreply@github.com>2019-10-06 17:33:12 +0300
commit51fef880b6a12e82955d5b93df7ffed0ae2f1478 (patch)
tree327575ae53cc7e25389ee6af1a02861c8296b9ad /docs/markdown/Reference-manual.md
parent5bbea6be05c9740aedcd7f170c24a6b2c098cd01 (diff)
parent47e20b3004b41261c01b1a46898252924f031f1d (diff)
downloadmeson-51fef880b6a12e82955d5b93df7ffed0ae2f1478.tar.gz
Merge pull request #5953 from mensinda/isystem
Add is_system to dependency
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index cd876461b..862c60afa 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -464,6 +464,12 @@ arguments:
You can also specify multiple restrictions by passing a list to this
keyword argument, such as: `['>=3.14.0', '<=4.1.0']`.
These requirements are never met if the version is unknown.
+- `include_type` *(added 0.52.0)* is an enum flag, marking how the dependency
+ flags should be converted. Supported values are `'preserve'`, `'system'` and
+ `'non-system'`. System dependencies may be handled differently on some
+ platforms, for instance, using `-isystem` instead of `-I`, where possible.
+ If `include_type` is set to `'preserve'`, no additional conversion will be
+ performed. The default value is `'preserve'`.
- other
[library-specific](Dependencies.md#dependencies-with-custom-lookup-functionality)
keywords may also be accepted (e.g. `modules` specifies submodules to use for
@@ -2227,6 +2233,12 @@ an external dependency with the following methods:
`unknown` if the dependency provider doesn't support determining the
version.
+ - `include_type()` returns whether the value set by the `include_type` kwarg
+
+ - `as_system(value)` returns a copy of the dependency object, which has changed
+ the value of `include_type` to `value`. The `value` argument is optional and
+ defaults to `'preserve'`.
+
- `partial_dependency(compile_args : false, link_args : false, links
: false, includes : false, source : false)` *(Added 0.46.0)* returns
a new dependency object with the same name, version, found status,