From e5cdf47e24d75d6236119ff12b5885683d35538a Mon Sep 17 00:00:00 2001 From: badaix Date: Sat, 8 Jun 2024 20:01:21 +0200 Subject: [PATCH] suppress files in build dir for cppcheck --- cmake/cppcheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cppcheck.cmake b/cmake/cppcheck.cmake index 397cc0e8..a8e85e27 100644 --- a/cmake/cppcheck.cmake +++ b/cmake/cppcheck.cmake @@ -42,7 +42,7 @@ if(CMAKE_VERSION VERSION_EQUAL "3.19.0" OR CMAKE_VERSION VERSION_GREATER "--project=${CMAKE_BINARY_DIR}/compile_commands.json" "--error-exitcode=10" "--inline-suppr" - "--suppress=*:build\*" + "--suppress=*:${CMAKE_BINARY_DIR}/_deps/*" "--suppress=unusedFunction" "--suppress=noExplicitConstructor" "--suppress=preprocessorErrorDirective")