chore: remove Qt and SDL2 from radio unit tests (#6452)

This commit is contained in:
Raphael Coeffic
2025-07-24 08:05:18 +10:00
committed by GitHub
parent 9e86a3ea84
commit 538721ef6b
17 changed files with 226 additions and 200 deletions
+1 -3
View File
@@ -60,7 +60,6 @@ if(WARNINGS_AS_ERRORS)
endif()
if(WIN32)
include_directories(SYSTEM ${WIN_INCLUDE_DIRS})
if(NOT WIN_USE_CONSOLE)
set(WIN_EXECUTABLE_TYPE WIN32) # GUI (WinMain) app
endif()
@@ -187,8 +186,7 @@ target_link_libraries(common
Qt::Widgets
Qt::SerialPort
${SDL2_LIBRARIES}
${WIN_LINK_LIBRARIES}
)
)
set(CPN_COMMON_LIB common)
-5
View File
@@ -14,11 +14,6 @@ if(Qt6Widgets_FOUND)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
if(WIN32)
target_include_directories(gtests-companion-lib PUBLIC ${WIN_INCLUDE_DIRS})
target_link_libraries(gtests-companion-lib PRIVATE ${WIN_LINK_LIBRARIES})
endif(WIN32)
file(GLOB TEST_SRC_FILES ${TESTS_PATH}/*.cpp)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")