From 59ef06819a97d491e9bc1324006559da14befa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 29 Apr 2021 19:52:25 +0200 Subject: [PATCH] manual; Add chapter about cppcheck build dir --- man/manual.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man/manual.md b/man/manual.md index 4cdb6c125..64cf7d48d 100644 --- a/man/manual.md +++ b/man/manual.md @@ -218,6 +218,18 @@ Example code with template specialisation: You can pass `-D__cppcheck__` when checking this code. +# Cppcheck build folder + +Using a Cppcheck build folder is not mandatory but it is recommended. + +Cppcheck save analyzer information in that folder. + +The advantages are; + * It speeds up the analysis as it makes incremental analysis possible. Only changed files are analyzed when you recheck. + * Whole program analysis also when multiple threads are used. + +On the command line you configure that through `--cppcheck-build-dir=path`. In the GUI it is configured in the project settings. + # Importing a project You can import some project files and build configurations into Cppcheck.