Skip to content

Commit 59ef068

Browse files
committed
manual; Add chapter about cppcheck build dir
1 parent e1e8222 commit 59ef068

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

man/manual.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@ Example code with template specialisation:
218218
You can pass `-D__cppcheck__` when checking this code.
219219

220220

221+
# Cppcheck build folder
222+
223+
Using a Cppcheck build folder is not mandatory but it is recommended.
224+
225+
Cppcheck save analyzer information in that folder.
226+
227+
The advantages are;
228+
* It speeds up the analysis as it makes incremental analysis possible. Only changed files are analyzed when you recheck.
229+
* Whole program analysis also when multiple threads are used.
230+
231+
On the command line you configure that through `--cppcheck-build-dir=path`. In the GUI it is configured in the project settings.
232+
221233
# Importing a project
222234

223235
You can import some project files and build configurations into Cppcheck.

0 commit comments

Comments
 (0)