From 9dc25be3c17a8dc7f1359db12fa1e88afe3922bd Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Fri, 23 Aug 2019 13:49:03 +0200 Subject: [PATCH] Allow cppcheck to test all configurations. Otherwise it reports a lot of "unused" functions, which are actually used. --- scripts/cmake/CppCheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/CppCheck.cmake b/scripts/cmake/CppCheck.cmake index 07f058cb2f5..7fd5e832dfa 100644 --- a/scripts/cmake/CppCheck.cmake +++ b/scripts/cmake/CppCheck.cmake @@ -8,7 +8,7 @@ endif() add_custom_target(cppcheck COMMAND ${CPPCHECK_TOOL_PATH} - # --force + --force --enable=all # --inconclusive ${CPPCHECK_THREADS} -- GitLab