From c2ce3c21f9838d03d13566f6d849a9d6f971d132 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Tue, 14 Jan 2014 10:53:44 +0100 Subject: [PATCH] Stop doing cppcheck on src/external GROMACS doesn't plan to maintain things that live here, so we shouldn't be exposed to messages from there, either. Change-Id: I88661026571a52772a9fd1f25ca36540d17737e9 --- tests/CppCheck.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/CppCheck.cmake b/tests/CppCheck.cmake index 1f964d035c..dbb33e2e82 100644 --- a/tests/CppCheck.cmake +++ b/tests/CppCheck.cmake @@ -53,7 +53,11 @@ if (CPPCHECK_EXECUTABLE AND UNIX) ${CMAKE_SOURCE_DIR}/src/gromacs/linearalgebra/gmx_lapack/*.c ${CMAKE_SOURCE_DIR}/src/contrib/*.c ${CMAKE_SOURCE_DIR}/src/contrib/*.cpp - ${CMAKE_SOURCE_DIR}/src/contrib/*.cu) + ${CMAKE_SOURCE_DIR}/src/contrib/*.cu + ${CMAKE_SOURCE_DIR}/src/external/*.c + ${CMAKE_SOURCE_DIR}/src/external/*.cpp + ${CMAKE_SOURCE_DIR}/src/external/*.cu + ) list(REMOVE_ITEM _inputfiles ${_files_to_ignore}) # Set flags for cppcheck -- 2.22.0