Skip to content

Commit

Permalink
Refs #4473. Exclude origin header from cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 29, 2012
1 parent 48ddec4 commit 6c2cb50
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Code/Mantid/Build/CMake/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,17 @@ if ( CPPCHECK_EXECUTABLE )
Framework/ICat/src/GSoapGenerated.cpp
Framework/ICat/src/GSoap/
Framework/ICat/src/GSoap.cpp
Framework/Kernel/src/ANN/
Framework/Kernel/src/ANN_complete.cpp
Framework/Kernel/src/ANN/
Framework/Kernel/src/ANN_complete.cpp
Framework/PythonAPI/src/boostpython.cpp
MantidPlot/src/origin/OPJFile.h # Third-party header
)

# setup the standard arguments
set (_cppcheck_args "${CPPCHECK_ARGS}")
list ( APPEND _cppcheck_args ${CPPCHECK_TEMPLATE_ARG} )
if ( CPPCHECK_NUM_THREADS GREATER 0)
list ( APPEND _cppcheck_args -j ${CPPCHECK_NUM_THREADS} )
list ( APPEND _cppcheck_args ${CPPCHECK_TEMPLATE_ARG} )
if ( CPPCHECK_NUM_THREADS GREATER 0)
list ( APPEND _cppcheck_args -j ${CPPCHECK_NUM_THREADS} )
endif ( CPPCHECK_NUM_THREADS GREATER 0)

# process list of include/exclude directories
Expand Down

0 comments on commit 6c2cb50

Please sign in to comment.