[vlc-commits] [Git][videolan/vlc][3.0.x] contrib: disable test building for all targets

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri May 2 09:56:25 UTC 2025



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
aa299db4 by Steve Lhomme at 2025-05-02T09:07:57+00:00
contrib: disable test building for all targets

BUILD_TESTING is an option automatically used by CTest and recognized by all
projects that have some CMake-based tests

(cherry picked from commit 637b57742e89106bc43d5c415190e68f9eb4da30) (edited)
edited:
- 3.0 already differentiates CMAKE_BUILD_TYPE
- 3.0 doesn't build flac with Cmake

- - - - -


1 changed file:

- contrib/src/main.mak


Changes:

=====================================
contrib/src/main.mak
=====================================
@@ -418,7 +418,8 @@ CMAKE = cmake -S $< -DCMAKE_TOOLCHAIN_FILE=$(abspath toolchain.cmake) \
 		-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
 		-DCMAKE_INSTALL_PREFIX:STRING=$(PREFIX) \
 		-DBUILD_SHARED_LIBS:BOOL=OFF \
-		-DCMAKE_INSTALL_LIBDIR:STRING=lib
+		-DCMAKE_INSTALL_LIBDIR:STRING=lib \
+		-DBUILD_TESTING:BOOL=OFF
 ifndef WITH_OPTIMIZATION
 CMAKE += -DCMAKE_BUILD_TYPE=Debug
 else



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aa299db4a4d23d5a09c35f15fcc86cc8e0ee8ede

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aa299db4a4d23d5a09c35f15fcc86cc8e0ee8ede
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