diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-10-06 17:33:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 17:33:12 +0300 |
commit | 51fef880b6a12e82955d5b93df7ffed0ae2f1478 (patch) | |
tree | 327575ae53cc7e25389ee6af1a02861c8296b9ad /docs/markdown/snippets | |
parent | 5bbea6be05c9740aedcd7f170c24a6b2c098cd01 (diff) | |
parent | 47e20b3004b41261c01b1a46898252924f031f1d (diff) | |
download | meson-51fef880b6a12e82955d5b93df7ffed0ae2f1478.zip meson-51fef880b6a12e82955d5b93df7ffed0ae2f1478.tar.gz meson-51fef880b6a12e82955d5b93df7ffed0ae2f1478.tar.bz2 |
Merge pull request #5953 from mensinda/isystem
Add is_system to dependency
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/force_system.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/force_system.md b/docs/markdown/snippets/force_system.md new file mode 100644 index 0000000..fd983e0 --- /dev/null +++ b/docs/markdown/snippets/force_system.md @@ -0,0 +1,11 @@ +## Added `include_type` kwarg to `dependency` + +The `dependency()` function now has a `include_type` kwarg. It can take the +values `'preserve'`, `'system'` and `'non-system'`. If it is set to `'system'`, +all include directories of the dependency are marked as system dependencies. + +The default value of `include_type` is `'preserve'`. + +Additionally, it is also possible to check and change the `include_type` +state of an existing dependency object with the new `include_type()` and +`as_system()` methods. |