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.
28 lines
631 B
28 lines
631 B
1 week ago
|
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)
|