Manual: The Cppcheck GUI has some options that can be 'imported' on the command line

This commit is contained in:
Daniel Marjamäki 2019-06-16 12:37:18 +02:00
parent 66ebc187f6
commit 89a45c8f8a
1 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,8 @@ You can import and use Cppcheck GUI project files in the command line tool:
cppcheck --project=foobar.cppcheck
The Cppcheck GUI has a few options that are not available in the command line directly. To use these options you can import a GUI project file. We want to keep the command line tool usage simple and limit the options by intention.
## CMake
Generate a compile database:
@ -159,6 +161,8 @@ Running Cppcheck on a Visual Studio project:
cppcheck --project=foobar.vcxproj
In the `Cppcheck GUI` you have the choice to only analyze a single debug configuration. If you want to use this choice on the command line then create a `Cppcheck GUI` project with this activated and then import the GUI project file on the command line.
## C++ Builder 6
Running Cppcheck on a C++ Builder 6 project: