Skip to content

Commit

Permalink
perf: suppress full binary dir (#105)
Browse files Browse the repository at this point in the history
Default to suppress the directory of CMAKE_CURRENT_BINARY_DIR in the referred context

Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed May 10, 2024
1 parent b26d6c5 commit 516c83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/build/Cppcheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 516c83e

Please sign in to comment.