HACKING: refer to make cppcheck
This commit is contained in:
parent
a3475cc896
commit
d319e87ff8
1 changed files with 1 additions and 10 deletions
11
HACKING
11
HACKING
|
@ -38,16 +38,7 @@ Here are some directions to get you started:
|
|||
$ make clean
|
||||
$ scan-build make
|
||||
2.2.3 Using cppcheck (v1.58 or higher):
|
||||
$ cppcheck --quiet \
|
||||
-I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \
|
||||
--check-config .
|
||||
$ cppcheck --quiet --enable=all --std=posix --std=c99 \
|
||||
-I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \
|
||||
-DLOG -D__linux__ \
|
||||
-DDRIVER_PN53X_USB_ENABLED -DDRIVER_ACR122_PCSC_ENABLED \
|
||||
-DDRIVER_ACR122_USB_ENABLED -DDRIVER_ACR122S_ENABLED \
|
||||
-DDRIVER_PN532_UART_ENABLED -DDRIVER_ARYGON_ENABLED \
|
||||
--force --inconclusive .
|
||||
$ make cppcheck
|
||||
2.3 When Debianizing
|
||||
$ lintian --info --display-info --display-experimental *deb
|
||||
or (shorter version)
|
||||
|
|
Loading…
Reference in a new issue