Now off catch2 and on my own testing fuc2.

This commit is contained in:
Zed A. Shaw 2026-06-16 01:34:03 -04:00
parent 4f3fa59793
commit 1d11c8b162
10 changed files with 177 additions and 98 deletions

View file

@ -3,7 +3,7 @@
# HEY BUG: when you have a . spec in a LEL it doesn't work on text
project('lel-guecs', 'cpp',
version: '0.7.3',
version: '0.7.4',
default_options: [
'cpp_std=c++23',
'cpp_args=-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1',
@ -51,7 +51,7 @@ elif build_machine.system() == 'darwin'
]
endif
catch2 = subproject('catch2').get_variable('catch2_with_main_dep')
fuc2 = subproject('fuc2').get_variable('fuc2_dep')
fmt = subproject('fmt').get_variable('fmt_dep')
json = subproject('nlohmann_json').get_variable('nlohmann_json_dep')
freetype2 = subproject('freetype2').get_variable('freetype_dep')
@ -117,19 +117,20 @@ lel_guecs_sfml_dep = declare_dependency(
link_with: lel_guecs_sfml_lib,
include_directories: lel_guecs_inc)
executable('runtests', [
executable('fuc2it', [
'tests/guecs.cpp',
'tests/lel.cpp',
'tests/main.cpp',
'tests/shaders.cpp',
'tests/sound.cpp',
'tests/textures.cpp',
'tests/guecs.cpp',
],
cpp_args: cpp_args,
link_args: link_args,
override_options: exe_defaults,
include_directories: lel_guecs_inc,
link_with: [lel_guecs_lib, lel_guecs_sfml_lib],
dependencies: dependencies + [catch2])
dependencies: dependencies + [fuc2])
executable('clicker_game', [
'demos/clicker_game.cpp',