diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-25 02:48:39 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-25 02:48:39 +0200 |
commit | dd74f3fb55e14e766ce465d6b98d06628b7f5d00 (patch) | |
tree | 70b8759a1e0d47aa654bc72dd35d57bcbe202b4e | |
parent | f223aa56a7b73a3224790642b5f2f68e1872b820 (diff) | |
download | meson-dd74f3fb55e14e766ce465d6b98d06628b7f5d00.zip meson-dd74f3fb55e14e766ce465d6b98d06628b7f5d00.tar.gz meson-dd74f3fb55e14e766ce465d6b98d06628b7f5d00.tar.bz2 |
Hide banner when invoking csc.
-rw-r--r-- | mesonbuild/compilers/cs.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cs.py b/mesonbuild/compilers/cs.py index 6d4811b..f78e364 100644 --- a/mesonbuild/compilers/cs.py +++ b/mesonbuild/compilers/cs.py @@ -29,6 +29,12 @@ class CsCompiler(Compiler): def get_display_language(self): return 'C sharp' + def get_always_args(self): + return ['/nologo'] + + def get_linker_always_args(self): + return ['/nologo'] + def get_output_args(self, fname): return ['-out:' + fname] @@ -93,7 +99,7 @@ class CsCompiler(Compiler): } } ''') - pc = subprocess.Popen(self.exelist + [src], cwd=work_dir) + pc = subprocess.Popen(self.exelist + self.get_always_args() + [src], cwd=work_dir) pc.wait() if pc.returncode != 0: raise EnvironmentException('Mono compiler %s can not compile programs.' % self.name_string()) |