From fab5634916191816ddecf1a2a958fa7ed2eac1ec Mon Sep 17 00:00:00 2001 From: Guillaume Poirier-Morency Date: Sat, 24 Jun 2017 20:16:30 -0400 Subject: Add 'Compiler.get_display_language' Use this when we print language-related information to the console and via the Ninja backend. --- mesonbuild/compilers/cpp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 6d50e57..01525b0 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -32,6 +32,9 @@ class CPPCompiler(CCompiler): self.language = 'cpp' CCompiler.__init__(self, exelist, version, is_cross, exe_wrap) + def get_display_language(self): + return 'C++' + def get_no_stdinc_args(self): return ['-nostdinc++'] -- cgit v1.1