From f4bde0d9a96e57206db4ff846532b6ef01b5e4a8 Mon Sep 17 00:00:00 2001 From: msclock Date: Fri, 10 May 2024 13:51:41 +0800 Subject: [PATCH] perf: suppress full binary dir Default to suppress the directory of CMAKE_CURRENT_BINARY_DIR in the referred context Signed-off-by: msclock --- cmake/build/Cppcheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build/Cppcheck.cmake b/cmake/build/Cppcheck.cmake index 543d95c..38ba9be 100644 --- a/cmake/build/Cppcheck.cmake +++ b/cmake/build/Cppcheck.cmake @@ -27,7 +27,7 @@ set(USE_CPPCHECK_OPTIONS CACHE STRING "cppcheck run options") set(USE_CPPCHECK_SUPPRESS_DIR - "*:${CMAKE_CURRENT_BINARY_DIR}/_deps/*" + "*:${CMAKE_CURRENT_BINARY_DIR}/*" CACHE STRING "Directory to suppress cppcheck warnings") set(USE_CPPCHECK_WARNINGS_AS_ERRORS