This is how you can lock meson build dependencies. Not sure why I didn't think of this before but you just put the .wrap files somewhere and instead of meson wrap install you copy them into subprojects.

This commit is contained in:
Zed A. Shaw 2024-10-16 19:48:23 -04:00
parent 678f5cc917
commit 62785d463c
18 changed files with 199 additions and 33 deletions

11
wraps/catch2.wrap Normal file
View file

@ -0,0 +1,11 @@
[wrap-file]
directory = Catch2-3.7.0
source_url = https://github.com/catchorg/Catch2/archive/v3.7.0.tar.gz
source_filename = Catch2-3.7.0.tar.gz
source_hash = 5b10cd536fa3818112a82820ce0787bd9f2a906c618429e7c4dea639983c8e88
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/catch2_3.7.0-1/Catch2-3.7.0.tar.gz
wrapdb_version = 3.7.0-1
[provide]
catch2 = catch2_dep
catch2-with-main = catch2_with_main_dep