diff options
author | Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> | 2017-06-24 20:16:30 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-26 14:15:44 -0400 |
commit | fab5634916191816ddecf1a2a958fa7ed2eac1ec (patch) | |
tree | 57a26181a852bf30e377fdd8d20d7a43626db993 /mesonbuild/backend/ninjabackend.py | |
parent | ce9cd33f27e8605c2d7fc77c3c2f086b6ac530ae (diff) | |
download | meson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.zip meson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.tar.gz meson-fab5634916191816ddecf1a2a958fa7ed2eac1ec.tar.bz2 |
Add 'Compiler.get_display_language'
Use this when we print language-related information to the console and
via the Ninja backend.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 0c3525c..e8090e7 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1606,7 +1606,7 @@ rule FORTRAN_DEP_HACK output_args=' '.join(compiler.get_output_args('$out')), compile_only_args=' '.join(compiler.get_compile_only_args()) ) - description = ' description = Compiling %s object $out.\n' % langname.title() + description = ' description = Compiling %s object $out.\n' % compiler.get_display_language() if compiler.get_id() == 'msvc': deps = ' deps = msvc\n' else: |