aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
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 /mesonbuild
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 'mesonbuild')
-rw-r--r--mesonbuild/interpreter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index e99500d..336613f 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2241,6 +2241,7 @@ class MesonMain(InterpreterObject):
@noArgsFlattening
@permittedKwargs({})
+ @FeatureDeprecated('meson.get_cross_property', '0.58.0', 'Use meson.get_external_property() instead')
def get_cross_property_method(self, args, kwargs) -> str:
if len(args) < 1 or len(args) > 2:
raise InterpreterException('Must have one or two arguments.')