diff options
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 176cde4..25c803d 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -461,6 +461,10 @@ 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. +- `is_system` *(added 0.52.0)* is a boolean flag, marking the dependency + as a system dependency. System dependencies may be handled differently + on some platforms, for instance using `-isystem` instead of `-I`, where + possible. The default value is `false`. - other [library-specific](Dependencies.md#dependencies-with-custom-lookup-functionality) keywords may also be accepted (e.g. `modules` specifies submodules to use for @@ -2224,6 +2228,13 @@ an external dependency with the following methods: `unknown` if the dependency provider doesn't support determining the version. + - `is_system()` returns whether the dependency object was marked as a + system dependency + + - `as_system(value)` returns a copy of the dependency object, which has changed + the value of `is_system` to `value`. The `value` argument is optional and + defaults to `true`. + - `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, |