SDL_test: allow disabling colorized output

This commit is contained in:
Anonymous Maarten
2025-12-03 03:24:01 +01:00
committed by Anonymous Maarten
parent 765a2e9118
commit 6665ebaa2e
9 changed files with 178 additions and 92 deletions

View File

@@ -4036,7 +4036,7 @@ sdl_compile_definitions(
##### Tests #####
if(SDL_TEST_LIBRARY)
file(GLOB TEST_SOURCES "${SDL3_SOURCE_DIR}/src/test/*.c")
file(GLOB TEST_SOURCES "${SDL3_SOURCE_DIR}/src/test/*.c" "${SDL3_SOURCE_DIR}/src/test/*.h")
target_sources(SDL3_test PRIVATE ${TEST_SOURCES})
if(APPLE)
set_target_properties(SDL3_test PROPERTIES