[Tests] Vendor QtTesting behind an opt-in WITH_GUI_TEST flag

This commit is contained in:
Lukas Brübach 2026-10-23 21:20:56 +02:00
parent 9f30892dff
commit 7c03e4467a
5 changed files with 48 additions and 0 deletions

View file

@ -564,6 +564,11 @@ target_link_libraries(
cockatrice_target_enable_crash_reporting(cockatrice)
if(WITH_GUI_TEST)
target_link_libraries(cockatrice PRIVATE QtTesting)
target_compile_definitions(cockatrice PRIVATE WITH_GUI_TEST)
endif()
if(UNIX)
if(APPLE)
set(MACOSX_BUNDLE_INFO_STRING "${PROJECT_NAME}")

View file

@ -10,6 +10,7 @@
# or set <category> = false to disable logging
#main = true
#recording = true
#qt_translator = true
#window_main.* = true
#release_channel = true