From 7475f7d957d991b2be8206432afa9683e6ad9c09 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 22 Nov 2013 17:58:51 +0100 Subject: build: remove spam generated by link task Simply override the cprogram Task's __str__ method with our own implementation. This is way easier on the eyes when compiling mpv during development, since warnings are not pushed outside of your average screenful of content. --- waftools/waf_customizations.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'waftools/waf_customizations.py') diff --git a/waftools/waf_customizations.py b/waftools/waf_customizations.py index b6798d4235..b3c2878e10 100644 --- a/waftools/waf_customizations.py +++ b/waftools/waf_customizations.py @@ -34,6 +34,10 @@ def build(ctx): class cprogram(cls): run_str = cls.hcode + '${LAST_LINKFLAGS}' + def __str__(self): + tgt_str = ' '.join([a.nice_path() for a in self.outputs]) + return 'linking -> {0}\n'.format(tgt_str) + cls = Task.classes['macplist'] class macplist(cls): def run(self): -- cgit v1.2.3