I can now load a json config file name .tarpit.json to configure everything. It now works to configure the sounds used.

This commit is contained in:
Zed A. Shaw 2024-08-26 19:04:50 -04:00
parent 268d8abf52
commit 90f4f727ba
8 changed files with 91 additions and 17 deletions

View file

@ -20,11 +20,12 @@ ftxui_dom = dependency('ftxui-dom')
ftxui_component = dependency('ftxui-component')
catch2 = dependency('catch2-with-main')
sfml = dependency('sfml')
json = dependency('nlohmann_json')
dependencies = [
fmt, libgit2package_dep, efsw_dep,
ftxui_screen, ftxui_dom, ftxui_component,
sfml
sfml, json
]
executable('escape_turings_tarpit',
@ -47,6 +48,9 @@ executable('ftx_thread_test', 'ftx_thread_test.cpp',
executable('audiotest', 'audiotest.cpp',
dependencies: dependencies)
executable('jsontest', 'jsontest.cpp',
dependencies: dependencies)
runtests = executable('runtests', [
'game_engine.cpp',
'tests/game_engine.cpp'],