X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.frag;h=409798028a8fc8065ec459147cbbd45e788a8134;hb=5a6253e058e01c9467b15eb6d7714666c6e62a9e;hp=463c78bd5d705600b5e670bfe5b418d9928f5c0b;hpb=daaeccccaf6fd7a01f0dacf7961faa5e8bed0851;p=awesomized%2Fext-ion diff --git a/Makefile.frag b/Makefile.frag index 463c78b..4097980 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -7,7 +7,7 @@ $(builddir)/ion-c/build: mkdir -p $@ +cd $@ && CFLAGS=-w CXXFLAGS=-w \ $(CMAKE) -Wno-dev --log-level=ERROR \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=$(LIB_IONC_BUILD) \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ $(srcdir)/ion-c @@ -26,4 +26,9 @@ clean-ion: gcov-ion: @rm -rf $@ @mkdir -p $@ - gcovr -j $$(nproc) -sr . --html --html-details --html-title $@ -o $@/index.html -f '.*/(php_)?ion.*' + @echo + @echo "Generating coverage in $@..." + @echo "************************************" + @gcovr -j $$(nproc) -sr . -f '.*/(php_)?ion.*' 2>/dev/null \ + --html-title $@ --html-details $@/index.html + @echo "************************************"