[vlc-commits] contrib: turn the verbose mode of CMake when called with make V=1

Steve Lhomme git at videolan.org
Fri May 25 09:42:11 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 25 08:55:29 2018 +0200| [5389c05bb639fb8e3457c663b26f5ba0981bd59a] | committer: Steve Lhomme

contrib: turn the verbose mode of CMake when called with make V=1

So that we get a similar level of verbosity as the make based targets

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5389c05bb639fb8e3457c663b26f5ba0981bd59a
---

 contrib/src/main.mak | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index ee72346173..26e352cb5b 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -348,6 +348,11 @@ RECONF = mkdir -p -- $(PREFIX)/share/aclocal && \
 CMAKE = cmake . -DCMAKE_TOOLCHAIN_FILE=$(abspath toolchain.cmake) \
 		-DCMAKE_INSTALL_PREFIX=$(PREFIX) $(CMAKE_GENERATOR)
 
+ifeq ($(V),1)
+CMAKE += -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
+endif
+
+
 ifdef GPL
 REQUIRE_GPL =
 else



More information about the vlc-commits mailing list