From 2cdddbab56ffdbca6accfc626521968fbe2c917e Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 29 Mar 2022 23:59:44 +0200 Subject: Add new debug() function Adds a new debug() function that can be used in the meson.build to log messages to the meson-log.txt that will not be printed to stdout when configuring the project. --- mesonbuild/ast/interpreter.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/ast/interpreter.py') diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py index e3d3e93..6128eef 100644 --- a/mesonbuild/ast/interpreter.py +++ b/mesonbuild/ast/interpreter.py @@ -157,6 +157,7 @@ class AstInterpreter(InterpreterBase): 'summary': self.func_do_nothing, 'range': self.func_do_nothing, 'structured_sources': self.func_do_nothing, + 'debug': self.func_do_nothing, }) def _unholder_args(self, args: _T, kwargs: _V) -> T.Tuple[_T, _V]: -- cgit v1.1