File: cppcheck.mk

package info (click to toggle)
geany-plugins 2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,832 kB
  • sloc: ansic: 107,883; sh: 5,567; makefile: 1,531; sed: 16
file content (21 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

if HAVE_CPPCHECK

check-cppcheck: $(srcdir)
	$(CPPCHECK) \
		--inline-suppr \
		-q --template=gcc --error-exitcode=2 \
		--library=gtk \
		--library=$(top_srcdir)/build/cppcheck-geany-plugins.cfg \
		--suppressions-list=$(top_srcdir)/build/cppcheck-geany-plugins.suppressions \
		-I$(GEANY_INCLUDEDIR)/geany \
		-UGEANY_PRIVATE \
		-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
		$(filter -j%,$(MAKEFLAGS)) \
		$(LOCAL_AM_CFLAGS) \
		$(AM_CPPCHECKFLAGS) $(CPPCHECKFLAGS) \
		$(srcdir)

check-local: check-cppcheck

endif