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)
|
ifeq ($(OS),Linux)
|
||||||
# installed by system and in PATH
|
# installed by system and in PATH
|
||||||
CPPCHECK := cppcheck
|
CPPCHECK := cppcheck
|
||||||
|
CHECKFLAGS := --platform=unix64
|
||||||
DBG_REL +=
|
DBG_REL +=
|
||||||
endif
|
endif
|
||||||
# OpenIndiana and flavours
|
# OpenIndiana and flavours
|
||||||
ifeq ($(OS),SunOS)
|
ifeq ($(OS),SunOS)
|
||||||
# local installation
|
# local installation
|
||||||
CPPCHECK := $(HOME)/devl/cppcheck/bin/cppcheck
|
CPPCHECK := $(HOME)/devl/cppcheck/bin/cppcheck
|
||||||
|
CHECKFLAGS := --platform=unix64
|
||||||
DBG_REL +=
|
DBG_REL +=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -107,7 +109,7 @@ LIBS = $(NETBEANSBUILD)
|
||||||
|
|
||||||
# Uncomment one of the following to select an output format
|
# Uncomment one of the following to select an output format
|
||||||
#CHECKFLAGS = --template="{file},{line},{severity},{id},{message}"
|
#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
|
#CHECKFLAGS = --enable=all --error-exitcode=1
|
||||||
|
|
||||||
debug release: DIRS $(APP)
|
debug release: DIRS $(APP)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue