Skip to content

Commit 71f257c

Browse files
committed
premium
1 parent ea51b95 commit 71f257c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

man/manual-premium.md

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

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

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

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

0 commit comments

Comments
 (0)