Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 68 lines (39 sloc) 1.279 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
10
11 Compiling
12
e30c49f @danmar updated readme.txt
authored
13 Any C++ compiler should work.
14
15 To build the GUI, you need Qt. The command line tool doesn't have any dependencies.
16
17 There are multiple compilation choices:
18 * qmake - cross platform build tool - but only the GUI can be built
19 * Visual Studio - Windows
d493592 @danmar readme: removed cmake/scons
authored
20 * gnu make
21 * g++
e30c49f @danmar updated readme.txt
authored
22
23
24 qmake
25 =====
26 You can use the gui/gui.pro file to build the gui.
27 cd gui
28 qmake
29 make
30
31
32 Visual Studio
33 =============
34 Use the cppcheck.sln file.
35
36
d493592 @danmar readme: removed cmake/scons
authored
37 gnu make
38 ========
39 make
40
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
47
dfe18db @kimmov Fix mixed EOL styles in readme.txt. Use LF for now.
kimmov authored
48 Cross compiling Win32 (CLI) version of Cppcheck in Linux
49
50 sudo apt-get install mingw32
51 make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
52 mv cppcheck cppcheck.exe
53
54 Usage
55
56 Run the cppcheck program without parameters and a help text will be shown.
57
58
59 Recommendations
60
61 When the "--all" flag is given you may get a lot of error messages.
62
63
64 Webpage
65
66 http://www.sf.net/projects/cppcheck
67
Something went wrong with that request. Please try again.