Brought in FLECS to play with, tomorrow we learn it.

This commit is contained in:
Zed A. Shaw 2024-10-05 18:15:14 -04:00
parent b8a0d9bbd1
commit a3eaf78fd3
7 changed files with 76 additions and 5 deletions

View file

@ -1,5 +1,5 @@
project('lcthw-utilities', 'cpp',
default_options: ['cpp_std=c++20'])
default_options: [ 'cpp_std=c++20' ])
catch2 = dependency('catch2-with-main')
fmt = dependency('fmt')
@ -8,10 +8,11 @@ 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]
json, sfml, flecs]
runtests = executable('runtests', [
'dbc.cpp',
@ -34,4 +35,10 @@ roguish = executable('roguish', [
],
dependencies: dependencies)
runtests = executable('flecstest', [
'./scratchpad/flecs.cpp'
],
dependencies: dependencies)
test('tests', runtests)