project('lodecaster', 'cpp', default_options: ['cpp_std=c++20']) catch2 = dependency('catch2-with-main') fmt = dependency('fmt') json = dependency('nlohmann_json') sdl2 = dependency('sdl2') sdl2_main = dependency('sdl2main') dependencies = [ sdl2, sdl2_main, fmt, json ] executable('runtests', [ 'quickcg.cpp', 'main.cpp', ], win_subsystem: 'windows', dependencies: dependencies) executable('lodecaster', [ 'quickcg.cpp', 'raycaster_flat.cpp', ], win_subsystem: 'windows', dependencies: dependencies)