mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
make: Add CPPCHECK_OPTS to allow excluding files from the check
With swig we now have C files that are generated with tools that are not under our control, so provide an escape hatch for them.
This commit is contained in:
committed by
Rusty Russell
parent
a4c19ba6ba
commit
6c67afeb03
@@ -4,6 +4,7 @@ LIBHSMD_PY_GEN_FILES := contrib/libhsmd_python/swig_wrap.c \
|
||||
contrib/libhsmd_python/libhsmd.py
|
||||
|
||||
PYTHON_GENERATED += contrib/libhsmd_python/libhsmd.py
|
||||
CPPCHECK_OPTS += --suppress=nullPointer:contrib/libhsmd_python/swig_wrap.c
|
||||
|
||||
# Swig by default generates stubs in the file's directory, which is
|
||||
# what we want.
|
||||
|
||||
Reference in New Issue
Block a user