readme: document how a project file or Makefile is created for Cppcheck

This commit is contained in:
Daniel Marjamäki 2014-02-15 08:22:13 +01:00
parent 5fe78d1534
commit 690c32dd86
2 changed files with 13 additions and 0 deletions

View File

@ -105,6 +105,12 @@ g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp extern
make LDFLAGS=-lshlwapi
```
### Other Compiler/IDE
1. Create a empty project file / makefile.
2. Add all cpp files in the cppcheck cli and lib folders to the project file / makefile.
3. Compile.
### Cross compiling Win32 (CLI) version of Cppcheck in Linux
```shell

View File

@ -78,6 +78,13 @@ Compiling
The "LDFLAGS=-lshlwapi" is needed when building with mingw
mingw32-make LDFLAGS=-lshlwapi
other compilers/ide
===================
1. Create a empty project file / makefile.
2. Add all cpp files in the cppcheck cli and lib folders to the project file / makefile.
3. Compile.
Cross compiling Win32 (CLI) version of Cppcheck in Linux
sudo apt-get install mingw32