aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-02-25 13:45:23 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-02-25 15:18:39 -0800
commitaa4efc709e8e6773830d47a4a0ecce0313158a57 (patch)
tree5504bafad061c76cd88f3ccc5223b1f4cfee6dec /docs/markdown/snippets
parent542dea25710fec8df0430d9b777bb15414e15b22 (diff)
downloadmeson-aa4efc709e8e6773830d47a4a0ecce0313158a57.zip
meson-aa4efc709e8e6773830d47a4a0ecce0313158a57.tar.gz
meson-aa4efc709e8e6773830d47a4a0ecce0313158a57.tar.bz2
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
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/deprecated_get_cross_property.md5
1 files changed, 5 insertions, 0 deletions
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`.