From: Mark Abraham Date: Tue, 14 Jan 2014 09:53:44 +0000 (+0100) Subject: Stop doing cppcheck on src/external X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=c2ce3c21f9838d03d13566f6d849a9d6f971d132;p=alexxy%2Fgromacs.git 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 --- 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