diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-01-08 17:10:24 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-01-26 18:23:41 +0100 |
commit | acc6dbfab7ed58e8c20cd61252d4d111bd9ca642 (patch) | |
tree | 6f536d5b9eb2edd6bf649de0dfea67be7d543314 /mesonbuild/cmake/interpreter.py | |
parent | 3607f50d7f5bfa33806a4ed48d4fb773f35ee537 (diff) | |
download | meson-acc6dbfab7ed58e8c20cd61252d4d111bd9ca642.zip meson-acc6dbfab7ed58e8c20cd61252d4d111bd9ca642.tar.gz meson-acc6dbfab7ed58e8c20cd61252d4d111bd9ca642.tar.bz2 |
cmake: Add support for --trace-redirect
Diffstat (limited to 'mesonbuild/cmake/interpreter.py')
-rw-r--r-- | mesonbuild/cmake/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/interpreter.py b/mesonbuild/cmake/interpreter.py index 4f7700f..2aa0c01 100644 --- a/mesonbuild/cmake/interpreter.py +++ b/mesonbuild/cmake/interpreter.py @@ -796,7 +796,7 @@ class CMakeInterpreter: os_env['LC_ALL'] = 'C' final_args = cmake_args + trace_args + cmcmp_args + [self.src_dir] - cmake_exe.set_exec_mode(print_cmout=True) + cmake_exe.set_exec_mode(print_cmout=True, always_capture_stderr=self.trace.requires_stderr()) rc, _, self.raw_trace = cmake_exe.call(final_args, self.build_dir, env=os_env, disable_cache=True) mlog.log() |