server/s/cppcheck

9 lines
297 B
Plaintext
Raw Normal View History

#!/bin/sh
2018-02-25 20:04:55 +01:00
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
#cppcheck $IGNORE -isrc/tests.c \
2018-12-02 11:07:30 +01:00
cppcheck --quiet --enable=warning,style,performance,portability -U_MSC_VER -UCLEANUP_CODE -UTODO \
-UERESSEA_BUILDNO -UERESSEA_VERSION -UTEST_THREADS \
2018-02-25 17:21:09 +01:00
-IcJSON -Isrc -Iclibs -Istorage src