Add extra cppcheck flags

This commit is contained in:
benn 2025-04-24 11:35:18 +02:00
parent f5cdcbbd5b
commit eea814ed48

View file

@ -59,12 +59,14 @@ OS := $(shell uname -s)
ifeq ($(OS),Linux)
# installed by system and in PATH
CPPCHECK := cppcheck
CHECKFLAGS := --platform=unix64
DBG_REL +=
endif
# OpenIndiana and flavours
ifeq ($(OS),SunOS)
# local installation
CPPCHECK := $(HOME)/devl/cppcheck/bin/cppcheck
CHECKFLAGS := --platform=unix64
DBG_REL +=
endif
@ -107,7 +109,7 @@ LIBS = $(NETBEANSBUILD)
# Uncomment one of the following to select an output format
#CHECKFLAGS = --template="{file},{line},{severity},{id},{message}"
CHECKFLAGS = --quiet --enable=all --error-exitcode=1
CHECKFLAGS += --quiet --enable=all --error-exitcode=1 --check-level=exhaustive --enable=all
#CHECKFLAGS = --enable=all --error-exitcode=1
debug release: DIRS $(APP)