Skip to content

Commit ea51b95

Browse files
committed
man
1 parent 3c8cfee commit ea51b95

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

man/manual.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,12 @@ To ignore certain folders you can use `-i`. This will skip analysis of source fi
310310

311311
### `-isystem`, `-I`, `--sysroot`
312312

313-
Cppcheck needs to have flexible handling of include paths from compile_commands.json, and this is achieved with a script
314-
that can tweak the compile_commands.json file.
313+
We have a [script](https://github.com/cppcheck-opensource/cppcheck/blob/main/tools/tweak-compile-commands.py) that tweaks compile_commands.json.
314+
315+
You can use it to:
316+
* use `--sysroot` flags in Cppcheck analysis
317+
* use `-isystem` paths in Cppcheck analysis
318+
* remove `-I` paths from the compile_commands.json
315319

316320
See [script documentation](https://github.com/cppcheck-opensource/cppcheck/blob/main/tools/tweak-compile-commands.md).
317321

0 commit comments

Comments
 (0)