project('raycaster', 'cpp', default_options: ['cpp_std=c++20']) catch2 = dependency('catch2-with-main') fmt = dependency('fmt') json = dependency('nlohmann_json') sfml = dependency('sfml') dependencies = [ fmt, json, sfml ] executable('runtests', [ 'dbc.cpp', 'matrix.cpp', 'tests/base.cpp', ], dependencies: dependencies + [catch2]) executable('raycaster', [ 'dbc.cpp', 'matrix.cpp', 'raycaster.cpp', ], dependencies: dependencies)