-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapply-cppcheck.sh
More file actions
executable file
·30 lines (27 loc) · 915 Bytes
/
Copy pathapply-cppcheck.sh
File metadata and controls
executable file
·30 lines (27 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#
# Copyright (C) 2022 https://github.com/nkh-lab
#
# This is free software. You can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 3 as published by the Free Software Foundation.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY.
#
# -I - include
# -i - ignore
# --check-config - use it only for check configuration, e.g. what includes are missed
cppcheck ./ --inconclusive --enable=all --suppress=missingIncludeSystem --suppress=functionStatic \
-I external/hidapi/hidapi \
-I external/liblightargparser/include \
-I build/config \
-I app-cli/src \
-I libusbrelaymodule/include \
-I libusbrelaymodule/src \
-I libusbrelaymodule/tests/unit/mock \
-I utils/include \
-i doc \
-i build \
-i external \
-i tools