[geany/geany-plugins] f26710: cppcheck: allow for extra user and developer flags
Colomban Wendling
git-noreply at xxxxx
Fri Feb 21 16:35:43 UTC 2014
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 21 Feb 2014 16:35:43 UTC
Commit: f26710b7e904f713e3fba860c62ebad11a5206ad
https://github.com/geany/geany-plugins/commit/f26710b7e904f713e3fba860c62ebad11a5206ad
Log Message:
-----------
cppcheck: allow for extra user and developer flags
Make cppheck calls use flags variables `$(AM_CPPCHECKFLAGS)` (for
developer flags) and `$(CPPCHECKFLAGS)` (for user flags).
This allows both a developer to add specific flags needed to cppcheck
to behave appropriately for the checked code, as well as the users to
specify flags, like e.g. the number ob concurrent jobs.
Modified Paths:
--------------
build/cppcheck.mk
Modified: build/cppcheck.mk
5 files changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -2,7 +2,10 @@
if HAVE_CPPCHECK
check-cppcheck: $(srcdir)
- $(CPPCHECK) -q --template gcc --error-exitcode=2 $^
+ $(CPPCHECK) \
+ -q --template gcc --error-exitcode=2 \
+ $(AM_CPPCHECKFLAGS) $(CPPCHECKFLAGS) \
+ $^
check-local: check-cppcheck
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list