Stop doing cppcheck on src/external
[alexxy/gromacs.git] / 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