readme.md: simple reformatting
This commit is contained in:
parent
8bd416b5b3
commit
10a91b5ca3
|
@ -61,17 +61,21 @@ http://software-download.name/pcre-library-windows/
|
||||||
### gnu make ###
|
### gnu make ###
|
||||||
|
|
||||||
To build Cppcheck with rules (pcre dependency):
|
To build Cppcheck with rules (pcre dependency):
|
||||||
|
|
||||||
make HAVE_RULES=yes
|
make HAVE_RULES=yes
|
||||||
|
|
||||||
To build Cppcheck without rules (no dependencies):
|
To build Cppcheck without rules (no dependencies):
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
### g++ (for experts) ###
|
### g++ (for experts) ###
|
||||||
|
|
||||||
If you just want to build Cppcheck without dependencies then you can use this command:
|
If you just want to build Cppcheck without dependencies then you can use this command:
|
||||||
|
|
||||||
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
|
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
|
||||||
|
|
||||||
If you want to use --rule and --rule-file then dependencies are needed:
|
If you want to use --rule and --rule-file then dependencies are needed:
|
||||||
|
|
||||||
g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp
|
g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp
|
||||||
|
|
||||||
### mingw ###
|
### mingw ###
|
||||||
|
@ -86,5 +90,5 @@ If you want to use --rule and --rule-file then dependencies are needed:
|
||||||
|
|
||||||
## Webpage ##
|
## Webpage ##
|
||||||
|
|
||||||
http://cppcheck.sourceforge.net/
|
http://cppcheck.sourceforge.net/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue