Initial Video, Render, and Properties implementations.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
BadQuanta
2026-04-26 14:39:01 +00:00
parent 6d0de7e621
commit 85dbe33a77
17 changed files with 2461 additions and 50 deletions
+17
View File
@@ -0,0 +1,17 @@
add_executable(
hdk-sdl-tests
main.cpp
Properties_test.cpp
Window_test.cpp
Surface_test.cpp
)
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)
target_link_libraries(hdk-sdl-tests PRIVATE hdk-coverage-flags)
endif()
add_test(NAME hdk-sdl-tests COMMAND hdk-sdl-tests)
set_tests_properties(hdk-sdl-tests PROPERTIES ENVIRONMENT "SDL_VIDEODRIVER=dummy")