Skip to content

Commit

Permalink
cppcheck.sh: define a few macros to help cppcheck parse files
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored and nyalldawson committed Nov 9, 2020
1 parent 0d633c4 commit 4587c4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/cppcheck.sh
Expand Up @@ -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 &
Expand Down

0 comments on commit 4587c4e

Please sign in to comment.