Current status of SDL.

This commit is contained in:
BadQuanta
2026-05-13 19:48:22 +00:00
parent 28e9c4ba18
commit 15bb051619
24 changed files with 1806 additions and 360 deletions
+9 -1
View File
@@ -1,15 +1,23 @@
add_executable(
hdk-sdl-tests
main.cpp
CoreBindings_test.cpp
Event_test.cpp
Properties_test.cpp
RenderTexture_test.cpp
VideoBindings_test.cpp
Window_test.cpp
Surface_test.cpp
)
if(HDK_COVERAGE)
target_sources(hdk-sdl-tests PRIVATE CoverageHeaderAggregation.cpp)
endif()
target_link_libraries(hdk-sdl-tests PRIVATE hdk-sdl doctest::doctest)
target_compile_features(hdk-sdl-tests PRIVATE cxx_std_17)
if(HDK_SDL_BUILD_COVERAGE AND TARGET hdk-coverage-flags)
if(HDK_COVERAGE AND TARGET hdk-coverage-flags)
target_link_libraries(hdk-sdl-tests PRIVATE hdk-coverage-flags)
endif()