static analysis of C/C++ code
Go to file
Kimmo Varis 9b0851ed25 Fixed #1892 (Verbosity setting set to false and not set back to original value)
Verbosity was set to false to temporarily reduce printing messages.
But it was not set back to its original value so rest of the
messages that should have been printed for verbose setting
enabled were not printed.
2010-07-21 16:26:59 +03:00
Cppcheck.xcodeproj cppcheck.xcodeproj -> Cppcheck.xcodeproj to avoid collision with tab completion in Linux 2010-04-23 23:47:52 +03:00
cli Update Visual Studio projects. 2010-07-17 17:59:47 +03:00
gui pulled changes from kimmov (filelocation-refactor) 2010-07-19 18:06:49 +02:00
htdocs
htmlreport
lib Fixed #1892 (Verbosity setting set to false and not set back to original value) 2010-07-21 16:26:59 +03:00
man manual: Added a chapter about the GUI 2010-07-13 16:23:02 +02:00
test Better fix for #1371. 2010-07-21 14:16:42 +03:00
tools Added test case deadlock_with_many_errors() for ticket #1650 2010-06-18 00:42:01 +03:00
win_installer 1.44: updated version information 2010-07-10 11:29:07 +02:00
.gitignore Add *.orig files to gitignore. 2010-07-17 19:31:05 +03:00
AUTHORS added Martin Ettl to authors list 2010-06-07 12:23:29 +02:00
COPYING
Changelog Changelog: updated for release 2010-07-10 11:30:03 +02:00
Makefile Add Path class for path handling routines. 2010-07-17 17:38:36 +03:00
all.pro
build.bat
cppcheck.cbp Add testthreadexecutor.cpp 2010-06-14 23:18:09 +03:00
cppcheck.cbproj Borland C++: Updated project files 2010-07-19 21:29:39 +02:00
cppcheck.sln
cppcheck_vs2010.sln
createrelease createrelease: more details about dmake 2010-05-08 19:07:49 +02:00
doxyfile
generate_coverage_report coverage report script: Extract only relevant data from the .info file. 2010-06-01 15:21:29 -03:00
readme.txt readme.txt: mention the online manual 2010-05-08 10:01:26 +02:00
readme_gui.txt
runastyle
runastyle.bat
testrunner.cbproj Borland C++: Updated project files 2010-07-19 21:29:39 +02:00
webreport.sh

readme.txt

=========
Cppcheck
=========


About

    The original name of this program is "C++check" but it was later changed to "cppcheck".


Compiling

    Any C++ compiler should work.

    To build the GUI, you need Qt. The command line tool doesn't have any dependencies.

    There are multiple compilation choices:
      * qmake - cross platform build tool - but only the GUI can be built
      * Visual Studio - Windows
      * gnu make
      * g++


    qmake
    =====
        You can use the gui/gui.pro file to build the gui.
            cd gui
            qmake
            make


    Visual Studio
    =============
        Use the cppcheck.sln file.


    gnu make
    ========
            make


    g++ (for experts)
    =================
        If you just want to build Cppcheck then you can use this command:
            g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp


Cross compiling Win32 (CLI) version of Cppcheck in Linux

    sudo apt-get install mingw32
    make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
    mv cppcheck cppcheck.exe

Usage

    A manual is available online: http://cppcheck.sf.net/manual.pdf

Webpage

    http://www.sf.net/projects/cppcheck