aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorSalamandar <felix@piedallu.me>2018-05-31 11:53:40 +0200
committerSalamandar <felix@piedallu.me>2018-06-01 14:23:24 +0200
commitc5e85e59cc2b16edb094fa598fb1a096cd0db4d5 (patch)
treedbebbb24a2ae03d896aaf7001759f53d82135df9 /mesonbuild/interpreter.py
parent2fb601876355587afd39691b361a4de6d30f9344 (diff)
downloadmeson-c5e85e59cc2b16edb094fa598fb1a096cd0db4d5.zip
meson-c5e85e59cc2b16edb094fa598fb1a096cd0db4d5.tar.gz
meson-c5e85e59cc2b16edb094fa598fb1a096cd0db4d5.tar.bz2
Add 0.47.0 features
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 24a0a29..79b66c1 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -1241,6 +1241,7 @@ class CompilerHolder(InterpreterObject):
mlog.log('Checking if "', mlog.bold(testname), '" links: ', h, sep='')
return result
+ @FeatureNew('check_header', '0.47.0')
@permittedKwargs({
'prefix',
'no_builtin_args',
@@ -2009,6 +2010,7 @@ external dependencies (including libraries) must go to "dependencies".''')
if not isinstance(actual, wanted):
raise InvalidArguments('Incorrect argument type.')
+ @FeatureNewKwargs('run_command', '0.47.0', ['check'])
@permittedKwargs(permitted_kwargs['run_command'])
def func_run_command(self, node, args, kwargs):
return self.run_command_impl(node, args, kwargs)
@@ -3199,6 +3201,7 @@ root and issuing %s.
self.build.install_dirs.append(idir)
return idir
+ @FeatureNewKwargs('configure_file', '0.47.0', ['copy'])
@FeatureNewKwargs('configure_file', '0.46.0', ['format'])
@FeatureNewKwargs('configure_file', '0.41.0', ['capture'])
@permittedKwargs(permitted_kwargs['configure_file'])