[cogl/wip/cogl-sharp: 11/14] cogl-sharp: Introduce V_MCS when compiling C# assemblies



commit e0d90cac113c479aaa7492892ed3719c907be39d
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sun Sep 30 13:34:14 2012 +0100

    cogl-sharp: Introduce V_MCS when compiling C# assemblies
    
    This implements the quiet version of the mcs invocation to compile C#
    assemblies.

 cogl-sharp/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am
index 3876a3a..767d3c6 100644
--- a/cogl-sharp/Makefile.am
+++ b/cogl-sharp/Makefile.am
@@ -1,3 +1,7 @@
+V_MCS = $(v_MCS_$(V))
+v_MCS_ = $(v_MCS_$(AM_DEFAULT_VERBOSITY))
+v_MCS_0 = @echo "  MCS   " $@;
+
 assemblydir = $(libdir)/cogl
 assembly_DATA = cogl2-sharp.dll cogl2-sharp.dll.config cogl2-sharp.dll.mdb
 
@@ -12,7 +16,7 @@ sources =		\
 
 cogl2-sharp.dll: $(sources)
 	@rm -f cogl2-sharp.dll.mdb
-	$(MCS) $(CSFLAGS) @$(srcdir)/cogl2-sharp.rsp -debug $(sources)
+	$(V_MCS)$(MCS) $(CSFLAGS) @$(srcdir)/cogl2-sharp.rsp -debug $(sources)
 
 cogl2-sharp.dll.mdb: cogl2-sharp.dll
 
@@ -43,6 +47,6 @@ tests_sources =			\
 	$(NULL)
 
 CoglTests.dll: $(tests_sources)
-	$(MCS) $(CSFLAGS) @$(srcdir)/CoglTests.rsp -lib:$(top_builddir)/cogl-sharp -r:cogl2-sharp.dll $(MONO_NUNIT_LIBS) $(tests_sources)
+	$(V_MCS)$(MCS) $(CSFLAGS) @$(srcdir)/CoglTests.rsp -lib:$(top_builddir)/cogl-sharp -r:cogl2-sharp.dll $(MONO_NUNIT_LIBS) $(tests_sources)
 
 endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]