project('distributary', 'cpp', default_options: ['cpp_std=c++20']) catch2 = dependency('catch2-with-main') fmt = dependency('fmt') json = dependency('nlohmann_json') depends = [catch2, fmt, json] runtests = executable('runtests', [ 'dbc.cpp', 'tests/fsm.cpp', 'tests/dbc.cpp', ], dependencies: depends) distributary = executable('distributary', [ 'main.cpp', 'dbc.cpp', 'config.cpp', 'server.cpp', ], dependencies: depends) test('tests', runtests)