Skip to content
Permalink
Browse files

cppcheck.sh: define a few macros to help cppcheck parse files

  • Loading branch information
rouault authored and nyalldawson committed Nov 9, 2020
1 parent 0d633c4 commit 4587c4e02bbf6c7dc5f965c975dd72c0661dc5a6
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/cppcheck.sh
@@ -29,7 +29,11 @@ cppcheck --library=qt.cfg --inline-suppr \
-DSIP_INOUT= \
-DSIP_OUT= \
-DSIP_FACTORY= \
-DSIP_THROW= \
-DCMAKE_SOURCE_DIR="/foo/bar" \
-DQ_NOWARN_DEPRECATED_PUSH= \
-DQ_NOWARN_DEPRECATED_POP= \
-DQ_DECLARE_OPAQUE_POINTER= \
-j $(nproc) \
${SCRIPT_DIR}/../src \
>>${LOG_FILE} 2>&1 &

0 comments on commit 4587c4e

Please sign in to comment.
You can’t perform that action at this time.