Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 61 lines (41 sloc) 1.223 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
19 To build the GUI, you need Qt. The command line tool doesn't have any dependencies.
20
21 There are multiple compilation choices:
22 * qmake - cross platform build tool - but only the GUI can be built
23 * Visual Studio - Windows
d493592 @danmar readme: removed cmake/scons
authored
24 * gnu make
25 * g++
e30c49f @danmar updated readme.txt
authored
26
27 qmake
28 =====
46a1118 @vBm Fixed some spelling mistakes
vBm authored
29 You can use the gui/gui.pro file to build the GUI.
e30c49f @danmar updated readme.txt
authored
30 cd gui
31 qmake
32 make
33
34 Visual Studio
35 =============
36 Use the cppcheck.sln file.
37
d493592 @danmar readme: removed cmake/scons
authored
38 gnu make
39 ========
edec43c @danmar mention the manual in the --help output
authored
40 make
d493592 @danmar readme: removed cmake/scons
authored
41
e30c49f @danmar updated readme.txt
authored
42 g++ (for experts)
43 =================
44 If you just want to build Cppcheck then you can use this command:
45 g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
46
edec43c @danmar mention the manual in the --help output
authored
47 mingw
48 =====
49 make LDFLAGS=-lshlwapi
e30c49f @danmar updated readme.txt
authored
50
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
51 Cross compiling Win32 (CLI) version of Cppcheck in Linux
52
53 sudo apt-get install mingw32
54 make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
55 mv cppcheck cppcheck.exe
56
57 Webpage
58
59 http://www.sf.net/projects/cppcheck
60
Something went wrong with that request. Please try again.