[ci,tidy] use CFLAGS from cmake verbose warnings

This commit is contained in:
akallabeth 2024-09-28 10:51:07 +02:00
parent 98e11c69c1
commit 53942081a1
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -19,9 +19,6 @@ set (WITH_WINPR_UTILS_IMAGE_JPEG ON CACHE BOOL "qa default")
set (WITH_WINPR_UTILS_IMAGE_WEBP ON CACHE BOOL "qa default")
set (WITH_WINPR_UTILS_IMAGE_PNG ON CACHE BOOL "qa default")
set (CMAKE_C_FLAGS "-Weverything -Wno-exit-time-destructors -Wno-cast-align -Wno-documentation -Wno-documentation-unknown-command -Wno-padded -Wno-covered-switch-default -Wno-declaration-after-statement" CACHE STRING "qa default")
set (CMAKE_CXX_FLAGS "-Weverything -Wno-exit-time-destructors -Wno-cast-align -Wno-documentation -Wno-documentation-unknown-command -Wno-padded -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-covered-switch-default -Wno-declaration-after-statement" CACHE STRING "qa default")
set (BUILD_WITH_CLANG_TIDY ON CACHE BOOL "qa default")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/ClangDetectTool.cmake)