Skip to content

Commit

Permalink
Add build instructions for building with Visual Studio from the comma…
Browse files Browse the repository at this point in the history
…nd line (#3655)
  • Loading branch information
clausjensbymadsen authored Dec 25, 2021
1 parent 8537331 commit d8c8487
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ Use the cppcheck.sln file. The file is configured for Visual Studio 2019, but th

To compile with rules, select "Release-PCRE" or "Debug-PCRE" configuration. pcre.lib (pcre64.lib for x64 builds) and pcre.h are expected to be in /externals then. A current version of PCRE for Visual Studio can be obtained using [vcpkg](https://github.com/microsoft/vcpkg).

### Visual Studio (from command line)

If you do not wish to use the Visual Studio IDE, you can compile cppcheck from the command line the following command.

```shell
msbuild cppcheck.sln
```

### VS Code (on Windows)

Install MSYS2 to get GNU toolchain with g++ and gdb (https://www.msys2.org/).
Expand Down

0 comments on commit d8c8487

Please sign in to comment.