diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-03-29 23:59:44 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-03-30 06:57:30 -0400 |
commit | 2cdddbab56ffdbca6accfc626521968fbe2c917e (patch) | |
tree | 16a0fd27f509d7a4ae0dd41fdd8eeaaa1a679a76 /mesonbuild/ast/interpreter.py | |
parent | 969ae6e0e1ffe3d1acb6ef0ef93c809b566a3ea1 (diff) | |
download | meson-2cdddbab56ffdbca6accfc626521968fbe2c917e.zip meson-2cdddbab56ffdbca6accfc626521968fbe2c917e.tar.gz meson-2cdddbab56ffdbca6accfc626521968fbe2c917e.tar.bz2 |
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.
Diffstat (limited to 'mesonbuild/ast/interpreter.py')
-rw-r--r-- | mesonbuild/ast/interpreter.py | 1 |
1 files changed, 1 insertions, 0 deletions
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]: |