aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-03-29 13:52:03 +0200
committerEli Schwartz <eschwartz93@gmail.com>2022-05-03 02:00:29 -0400
commit3a960023d3e78d04651850178db96c7d742725e6 (patch)
tree6701f36e22752547c9041844d9c70ba301f3e4a1 /mesonbuild/ast
parent06b76f7c9d7bbe74450ed49316eaeae28dccda7d (diff)
downloadmeson-3a960023d3e78d04651850178db96c7d742725e6.zip
meson-3a960023d3e78d04651850178db96c7d742725e6.tar.gz
meson-3a960023d3e78d04651850178db96c7d742725e6.tar.bz2
interpreter: new function add_project_dependencies()
This function can be used to add fundamental dependencies such as glib to all build products in one fell swoop. This can be useful whenever, due to a project's coding conventions, it is not really possible to compile any source file without including the dependency. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/ast')
-rw-r--r--mesonbuild/ast/interpreter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py
index 6128eef..2e18a6a 100644
--- a/mesonbuild/ast/interpreter.py
+++ b/mesonbuild/ast/interpreter.py
@@ -114,6 +114,7 @@ class AstInterpreter(InterpreterBase):
'add_global_arguments': self.func_do_nothing,
'add_global_link_arguments': self.func_do_nothing,
'add_project_arguments': self.func_do_nothing,
+ 'add_project_dependencies': self.func_do_nothing,
'add_project_link_arguments': self.func_do_nothing,
'message': self.func_do_nothing,
'generator': self.func_do_nothing,