aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorBen <benwaffle@users.noreply.github.com>2017-08-01 11:22:17 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-01 06:22:17 -0400
commit0ed0bcce4902db366d74a52794f7e71e73a47d41 (patch)
tree335c48f0816a45f8abf7ebc8e7203d86182507e4 /mesonbuild/backend/ninjabackend.py
parentece4ce887242b572d7d27bc72497d007b2b75fdc (diff)
downloadmeson-0ed0bcce4902db366d74a52794f7e71e73a47d41.zip
meson-0ed0bcce4902db366d74a52794f7e71e73a47d41.tar.gz
meson-0ed0bcce4902db366d74a52794f7e71e73a47d41.tar.bz2
Vala: enable colored warning and error output (#2142)
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index f77d2b1..287b683 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1094,6 +1094,7 @@ int dummy;
valac_outputs.append(vala_c_file)
args = self.generate_basic_compiler_args(target, valac)
+ args += valac.get_colorout_args(self.environment.coredata.base_options.get('b_colorout').value)
# Tell Valac to output everything in our private directory. Sadly this
# means it will also preserve the directory components of Vala sources
# found inside the build tree (generated sources).