readme: document how a project file or Makefile is created for Cppcheck
This commit is contained in:
parent
5fe78d1534
commit
690c32dd86
|
@ -105,6 +105,12 @@ g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp extern
|
||||||
make LDFLAGS=-lshlwapi
|
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
|
### Cross compiling Win32 (CLI) version of Cppcheck in Linux
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
@ -78,6 +78,13 @@ Compiling
|
||||||
The "LDFLAGS=-lshlwapi" is needed when building with mingw
|
The "LDFLAGS=-lshlwapi" is needed when building with mingw
|
||||||
mingw32-make LDFLAGS=-lshlwapi
|
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
|
Cross compiling Win32 (CLI) version of Cppcheck in Linux
|
||||||
|
|
||||||
sudo apt-get install mingw32
|
sudo apt-get install mingw32
|
||||||
|
|
Loading…
Reference in New Issue