diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-09-23 12:14:32 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2020-09-23 12:14:32 -0400 |
commit | 55ea461993db23c8a68053a5f499fda7f65df9b6 (patch) | |
tree | 8d20233f2d1442fc223be4854bd8cbc460a4e43b /docs/markdown/snippets | |
parent | 8fa0548e080dd006821ff985868fdef789935feb (diff) | |
download | meson-55ea461993db23c8a68053a5f499fda7f65df9b6.zip meson-55ea461993db23c8a68053a5f499fda7f65df9b6.tar.gz meson-55ea461993db23c8a68053a5f499fda7f65df9b6.tar.bz2 |
Deprecate meson.build_root() and meson.source_root()
Those function are common source of issue when used in a subproject because they
point to the parent project root which is rarely what is expected and is a
violation of subproject isolation.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/deprecate_source_build_root.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/deprecate_source_build_root.md b/docs/markdown/snippets/deprecate_source_build_root.md new file mode 100644 index 0000000..05b6b91 --- /dev/null +++ b/docs/markdown/snippets/deprecate_source_build_root.md @@ -0,0 +1,5 @@ +## `meson.build_root()` and `meson.source_root()` are deprecated + +Those function are common source of issue when used in a subproject because they +point to the parent project root which is rarely what is expected and is a +violation of subproject isolation. |