[vlc-commits] [Git][videolan/vlc][master] contrib: allow verbose compilation with V=1 in meson
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sat Oct 11 12:12:30 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
dd6be4fa by Steve Lhomme at 2025-10-11T13:18:17+02:00
contrib: allow verbose compilation with V=1 in meson
As supported by make and CMake targets.
- - - - -
1 changed file:
- contrib/src/main.mak
Changes:
=====================================
contrib/src/main.mak
=====================================
@@ -530,6 +530,11 @@ ifdef HAVE_DARWIN_OS
MESONFLAGS += -Dobjc_args="$(CFLAGS)" -Dobjc_link_args="$(LDFLAGS)" -Dobjcpp_args="$(CXXFLAGS)" -Dobjcpp_link_args="$(LDFLAGS)"
endif
+MESONCOMPILEFLAGS =
+ifeq ($(V),1)
+MESONCOMPILEFLAGS += -v
+endif
+
ifdef HAVE_CROSS_COMPILE
# When cross-compiling meson uses the env vars like
# CC, CXX, etc. and CFLAGS, CXXFLAGS, etc. for the
@@ -550,7 +555,7 @@ else
MESON = $(HOSTTOOLS) meson setup $(MESONFLAGS)
endif
MESONCLEAN = rm -rf $(BUILD_DIR)/meson-private
-MESONBUILD = meson compile -C $(BUILD_DIR) $(MESON_BUILD) && meson install -C $(BUILD_DIR)
+MESONBUILD = meson compile -C $(BUILD_DIR) $(MESON_BUILD) $(MESONCOMPILEFLAGS) && meson install -C $(BUILD_DIR)
# shared Qt config
ifeq ($(call system_tool_majmin, qmake6 -query QT_VERSION 2>/dev/null),$(QTBASE_VERSION_MAJOR))
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dd6be4fa388238e1b98eadf792c576e56ad98ea7
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dd6be4fa388238e1b98eadf792c576e56ad98ea7
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list