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/nlohmann_json.wrap Normal file
View file

@ -0,0 +1,11 @@
[wrap-file]
directory = nlohmann_json-3.11.3
lead_directory_missing = true
source_url = https://github.com/nlohmann/json/releases/download/v3.11.3/include.zip
source_filename = nlohmann_json-3.11.3.zip
source_hash = a22461d13119ac5c78f205d3df1db13403e58ce1bb1794edc9313677313f4a9d
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/nlohmann_json_3.11.3-1/nlohmann_json-3.11.3.zip
wrapdb_version = 3.11.3-1
[provide]
nlohmann_json = nlohmann_json_dep