Got the suite rebuilding, most tests pass, actor and sprite are failing

This commit is contained in:
2026-05-03 23:57:55 -04:00
parent f475dfb6ee
commit 6763b5629f
36 changed files with 734 additions and 664 deletions

View File

@@ -12,11 +12,11 @@ find_package(jansson REQUIRED)
find_package(box2d REQUIRED)
# Check for SDL3 using pkg-config
pkg_check_modules(SDL3 REQUIRED sdl3)
pkg_check_modules(SDL3_image REQUIRED sdl3-image)
pkg_check_modules(SDL3_mixer REQUIRED sdl3-mixer)
pkg_check_modules(jansson REQUIRED jansson)
pkg_check_modules(akerror REQUIRED akerror)
#pkg_check_modules(SDL3 REQUIRED sdl3)
#pkg_check_modules(SDL3_image REQUIRED sdl3-image)
#pkg_check_modules(SDL3_mixer REQUIRED sdl3-mixer)
#pkg_check_modules(jansson REQUIRED jansson)
#pkg_check_modules(akerror REQUIRED akerror)
set(GAMECONTROLLERDB_H "include/sdl3game/SDL_GameControllerDB.h")
@@ -71,6 +71,13 @@ target_include_directories(sdl3game PUBLIC
include/
)
target_link_libraries(sdl3game
PUBLIC
SDL3::SDL3
SDL3_image::SDL3_image
SDL3_mixer::SDL3_mixer
)
target_link_libraries(test_actor PRIVATE akerror::akerror sdl3game SDL3::SDL3 SDL3_image::SDL3_image SDL3_mixer::SDL3_mixer box2d::box2d jansson::jansson -lm)
target_link_libraries(test_bitmasks PRIVATE akerror::akerror sdl3game SDL3::SDL3 SDL3_image::SDL3_image SDL3_mixer::SDL3_mixer box2d::box2d jansson::jansson -lm)
target_link_libraries(test_character PRIVATE akerror::akerror sdl3game SDL3::SDL3 SDL3_image::SDL3_image SDL3_mixer::SDL3_mixer box2d::box2d jansson::jansson -lm)