Initial commit that has most of what I need.
This commit is contained in:
parent
933f47a440
commit
ad143dca05
11 changed files with 317 additions and 0 deletions
28
meson.build
Normal file
28
meson.build
Normal file
|
@ -0,0 +1,28 @@
|
|||
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')
|
||||
|
||||
dependencies = [catch2, fmt,
|
||||
ftxui_screen, ftxui_dom, ftxui_component,
|
||||
json]
|
||||
|
||||
runtests = executable('runtests', [
|
||||
'dbc.cpp',
|
||||
'tests/fsm.cpp',
|
||||
'tests/dbc.cpp',
|
||||
],
|
||||
dependencies: dependencies)
|
||||
|
||||
roguish = executable('roguish', [
|
||||
'dbc.cpp',
|
||||
'main.cpp'
|
||||
],
|
||||
dependencies: dependencies)
|
||||
|
||||
test('tests', runtests)
|
Loading…
Add table
Add a link
Reference in a new issue