Add extra cppcheck flags
This commit is contained in:
parent
f5cdcbbd5b
commit
eea814ed48
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue