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.
48 lines
1023 B
48 lines
1023 B
project('lcthw-utilities', 'cpp',
|
|
default_options: [ 'cpp_std=c++20' ])
|
|
|
|
catch2 = dependency('catch2-with-main')
|
|
fmt = dependency('fmt')
|
|
json = dependency('nlohmann_json')
|
|
ftxui_screen = dependency('ftxui-screen')
|
|
ftxui_dom = dependency('ftxui-dom')
|
|
ftxui_component = dependency('ftxui-component')
|
|
sfml = dependency('sfml')
|
|
flecs = dependency('flecs')
|
|
|
|
dependencies = [catch2, fmt,
|
|
ftxui_screen, ftxui_dom, ftxui_component,
|
|
json, sfml, flecs]
|
|
|
|
runtests = executable('runtests', [
|
|
'dbc.cpp',
|
|
'map.cpp',
|
|
'entity.cpp',
|
|
'rand.cpp',
|
|
'tests/fsm.cpp',
|
|
'tests/dbc.cpp',
|
|
'tests/map.cpp',
|
|
],
|
|
dependencies: dependencies)
|
|
|
|
roguish = executable('roguish', [
|
|
'dbc.cpp',
|
|
'main.cpp',
|
|
'map.cpp',
|
|
'gui.cpp',
|
|
'rand.cpp',
|
|
'entity.cpp',
|
|
],
|
|
dependencies: dependencies)
|
|
|
|
flectest = executable('flecstest', [
|
|
'./scratchpad/flecstest.cpp'
|
|
],
|
|
dependencies: dependencies)
|
|
|
|
myecstest = executable('myecstest', [
|
|
'./scratchpad/myecstest.cpp'
|
|
],
|
|
dependencies: dependencies)
|
|
|
|
test('tests', runtests)
|
|
|