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

This commit is contained in:
Even Rouault 2020-11-09 12:27:05 +01:00 committed by Nyall Dawson
parent 0d633c49fe
commit 4587c4e02b

View File

@ -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 &