From aa4efc709e8e6773830d47a4a0ecce0313158a57 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 25 Feb 2021 13:45:23 -0800 Subject: deprecated `meson.get_cross_property` It's a pure subset of `get_external_property`, and has odd behavior in host == build configurations. `get_external_property` is clear, and uses the standard `native : bool` syntax to control host vs build properties --- docs/markdown/snippets/deprecated_get_cross_property.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/deprecated_get_cross_property.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/deprecated_get_cross_property.md b/docs/markdown/snippets/deprecated_get_cross_property.md new file mode 100644 index 0000000..8e62956 --- /dev/null +++ b/docs/markdown/snippets/deprecated_get_cross_property.md @@ -0,0 +1,5 @@ +## `meson.get_cross_property()` has been deprecated + +It's a pure subset of `meson.get_external_property`, and works strangely in +host == build configurations, since it would be more accurately described as +`get_host_property`. -- cgit v1.1