Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
raycaster/meson.build

47 lines
893 B

project('raycaster', 'cpp',
default_options: ['cpp_std=c++20'])
catch2 = dependency('catch2-with-main')
fmt = dependency('fmt')
json = dependency('nlohmann_json')
sfml = dependency('sfml')
sdl2 = dependency('sdl2')
sdl2main = dependency('sdl2main')
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)
executable('raycaster_pixels', [
'dbc.cpp',
'matrix.cpp',
'raycaster_pixels.cpp',
],
dependencies: dependencies)
executable('timcaster', [
'./scratchpad/timcaster.cpp',
],
dependencies: dependencies + [sdl2, sdl2main])
executable('fenstercaster', [
'dbc.cpp',
'matrix.cpp',
'miniaudio.cpp',
'fenscaster.cpp'
],
dependencies: dependencies)