diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-09-29 21:27:05 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-10-03 10:06:04 +0200 |
commit | 73d52266b5cf8e6b62d715328f0c66b1734c3026 (patch) | |
tree | b8e0b6cbc1d9c378c802c235fdbb2713cbee7a7c /docs/markdown/snippets | |
parent | e5c720ff607cdf3101de031ff3a36f434d77b0d1 (diff) | |
download | meson-73d52266b5cf8e6b62d715328f0c66b1734c3026.zip meson-73d52266b5cf8e6b62d715328f0c66b1734c3026.tar.gz meson-73d52266b5cf8e6b62d715328f0c66b1734c3026.tar.bz2 |
Use include_type instead of is_system
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/force_system.md | 11 | ||||
-rw-r--r-- | docs/markdown/snippets/is_system.md | 9 |
2 files changed, 11 insertions, 9 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. diff --git a/docs/markdown/snippets/is_system.md b/docs/markdown/snippets/is_system.md deleted file mode 100644 index cb1da0a..0000000 --- a/docs/markdown/snippets/is_system.md +++ /dev/null @@ -1,9 +0,0 @@ -## Added `is_system` kwarg to `dependency` - -Similar to `include_directories()`, the `dependency()` function now -also has a `is_system` kwarg. If it is enabled, all include directories -of the dependency are marked as system dependencies. - -Additionally, it is also possible to check and change the `is_system` -state of an existing dependency object with the new `is_system()` and -`as_system()` methods. |