Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 64 lines (43 sloc) 1.242 kB
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
1 =========
2 Cppcheck
3 =========
4
5
6 About
7
8 The original name of this program is "C++check" but it was later changed to "cppcheck".
9
edec43c @danmar mention the manual in the --help output
authored
10 Manual
11
46a1118 @vBm Fixed some spelling mistakes
vBm authored
12 A manual is available online:
edec43c @danmar mention the manual in the --help output
authored
13 http://cppcheck.sf.net/manual.pdf
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
14
15 Compiling
16
e30c49f @danmar updated readme.txt
authored
17 Any C++ compiler should work.
18
10e82c0 @danmar readme: tweaked the 'compiling cppcheck' section
authored
19 To build the GUI, you need Qt.
20
21 To build the command line tool, PCRE is needed. More information about PCRE is found in
22 build.txt
e30c49f @danmar updated readme.txt
authored
23
24 There are multiple compilation choices:
10e82c0 @danmar readme: tweaked the 'compiling cppcheck' section
authored
25 * qmake - cross platform build tool
e30c49f @danmar updated readme.txt
authored
26 * Visual Studio - Windows
d493592 @danmar readme: removed cmake/scons
authored
27 * gnu make
28 * g++
e30c49f @danmar updated readme.txt
authored
29
30 qmake
31 =====
46a1118 @vBm Fixed some spelling mistakes
vBm authored
32 You can use the gui/gui.pro file to build the GUI.
e30c49f @danmar updated readme.txt
authored
33 cd gui
34 qmake
35 make
36
37 Visual Studio
38 =============
39 Use the cppcheck.sln file.
40
d493592 @danmar readme: removed cmake/scons
authored
41 gnu make
42 ========
edec43c @danmar mention the manual in the --help output
authored
43 make
d493592 @danmar readme: removed cmake/scons
authored
44
e30c49f @danmar updated readme.txt
authored
45 g++ (for experts)
46 =================
47 If you just want to build Cppcheck then you can use this command:
48 g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
49
edec43c @danmar mention the manual in the --help output
authored
50 mingw
51 =====
52 make LDFLAGS=-lshlwapi
e30c49f @danmar updated readme.txt
authored
53
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
54 Cross compiling Win32 (CLI) version of Cppcheck in Linux
55
56 sudo apt-get install mingw32
57 make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
58 mv cppcheck cppcheck.exe
59
60 Webpage
61
7297ada @gerundt Switch website URL in readme.txt
gerundt authored
62 http://cppcheck.sourceforge.net/
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
63
Something went wrong with that request. Please try again.