Stop doing cppcheck on src/external
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 14 Jan 2014 09:53:44 +0000 (10:53 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 14 Jan 2014 22:47:21 +0000 (23:47 +0100)
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

index 1f964d035c351c9157043620e92e3e2ac5dd57a0..dbb33e2e82b923d4ee7bd3a84795ff39a679af8a 100644 (file)
@@ -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