Skip to content

Commit 9e8aab6

Browse files
committed
manual
1 parent deb7a7a commit 9e8aab6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

man/manual.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,13 @@ To ignore certain folders you can use `-i`. This will skip analysis of source fi
308308

309309
cppcheck --project=compile_commands.json -ifoo
310310

311+
### `-isystem`, `-I`, `--sysroot`
312+
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.
315+
316+
See [script documentation](https://github.com/cppcheck-opensource/cppcheck/blob/main/tools/tweak-compile-commands.md).
317+
311318
## Visual Studio
312319

313320
You can run Cppcheck on individual project files (`*.vcxproj`) or on a whole solution (`*.sln`) or (`*.slnx`).

0 commit comments

Comments
 (0)