Not sure why I didn't think of this before, but you can just copy all the .wrap files to another directory, and then instead of meson wrap install you just copy them to subprojects. That's how you lock the versions of dependencies.

This commit is contained in:
Zed A. Shaw 2024-10-16 20:01:01 -04:00
parent 33327154ad
commit da04c5ec54
14 changed files with 146 additions and 36 deletions

View file

@ -8,11 +8,10 @@ ftxui_screen = dependency('ftxui-screen')
ftxui_dom = dependency('ftxui-dom')
ftxui_component = dependency('ftxui-component')
sfml = dependency('sfml')
flecs = dependency('flecs')
dependencies = [catch2, fmt,
ftxui_screen, ftxui_dom, ftxui_component,
json, sfml, flecs]
json, sfml]
runtests = executable('runtests', [
'dbc.cpp',
@ -33,11 +32,6 @@ roguish = executable('roguish', [
],
dependencies: dependencies)
flectest = executable('flecstest', [
'./scratchpad/flecstest.cpp'
],
dependencies: dependencies)
myecstest = executable('myecstest', [
'./scratchpad/myecstest.cpp'
],