Skip to content

Commit

Permalink
createrelease: run self check with optimised cppcheck, with a debug b…
Browse files Browse the repository at this point in the history
…uild it's too slow
  • Loading branch information
danmar committed Feb 5, 2022
1 parent 0c66453 commit 3ac4eab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion createrelease
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# - ensure cfg files etc are included (win_installer/cppcheck.wxs)
#
# self check, fix critical issues:
# ./cppcheck -D__CPPCHECK__ --library=cppcheck-lib --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h cli gui/*.cpp --suppress=functionConst --suppress=functionStatic -q lib
# make clean && make CXXFLAGS=-O2 MATCHCOMPILER=yes -j4
# ./cppcheck -D__CPPCHECK__ --std=c++11 --library=cppcheck-lib --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h --suppress=functionConst --suppress=functionStatic --xml cli gui/*.cpp lib 2> selfcheck.xml
#
# check --bug-hunting output:
# make clean && make -j4 USE_Z3=yes && ./cppcheck -D__CPPCHECK__ --bug-hunting lib
Expand Down

0 comments on commit 3ac4eab

Please sign in to comment.