Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like.
This commit is contained in:
parent
8d1570f44a
commit
daf9a3cc07
8 changed files with 134 additions and 16 deletions
15
meson.build
15
meson.build
|
@ -15,9 +15,6 @@ libgit2package_dep = libgit2_proj.dependency('libgit2package')
|
|||
|
||||
efsw_dep = dependency('efsw')
|
||||
fmt = dependency('fmt')
|
||||
ftxui_screen = dependency('ftxui-screen')
|
||||
ftxui_dom = dependency('ftxui-dom')
|
||||
ftxui_component = dependency('ftxui-component')
|
||||
catch2 = dependency('catch2-with-main')
|
||||
sfml = dependency('sfml')
|
||||
json = dependency('nlohmann_json')
|
||||
|
@ -25,7 +22,6 @@ imgui = dependency('imgui-sfml')
|
|||
|
||||
dependencies = [
|
||||
fmt, libgit2package_dep, efsw_dep,
|
||||
ftxui_screen, ftxui_dom, ftxui_component,
|
||||
sfml, imgui, json
|
||||
]
|
||||
|
||||
|
@ -36,18 +32,11 @@ executable('escape_turings_tarpit',
|
|||
'builder.cpp',
|
||||
'sfmlgui.cpp',
|
||||
'escape_turings_tarpit.cpp'],
|
||||
win_subsystem: 'windows',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('regtest', 'regtest.cpp',
|
||||
dependencies: [fmt])
|
||||
|
||||
executable('ftxtest', 'ftxtest.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('ftx_thread_test', 'ftx_thread_test.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('audiotest', 'audiotest.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
|
@ -57,6 +46,10 @@ executable('jsontest', 'jsontest.cpp',
|
|||
executable('threadtest', 'threadtest.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('corotest', 'corotest.cpp',
|
||||
dependencies: dependencies,
|
||||
cpp_args: '-fcoroutines')
|
||||
|
||||
runtests = executable('runtests', [
|
||||
'game_engine.cpp',
|
||||
'tests/game_engine.cpp',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue