From 55ea461993db23c8a68053a5f499fda7f65df9b6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Sep 2020 12:14:32 -0400 Subject: 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. --- docs/markdown/snippets/deprecate_source_build_root.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/deprecate_source_build_root.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1