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/objcpp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/objcpp.py') diff --git a/mesonbuild/compilers/objcpp.py b/mesonbuild/compilers/objcpp.py index b181f9a..c2e4647 100644 --- a/mesonbuild/compilers/objcpp.py +++ b/mesonbuild/compilers/objcpp.py @@ -24,6 +24,9 @@ class ObjCPPCompiler(CPPCompiler): self.language = 'objcpp' CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap) + def get_display_language(self): + return 'Objective-C++' + def sanity_check(self, work_dir, environment): # TODO try to use sanity_check_impl instead of duplicated code source_name = os.path.join(work_dir, 'sanitycheckobjcpp.mm') -- cgit v1.1