diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 35ba613ee..052bc456b 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -649,7 +649,10 @@ bool CppCheck::parseFromArgs(int argc, const char* const argv[]) " # Check only files one.cpp and two.cpp and give all information there is:\n" " cppcheck -v -s one.cpp two.cpp\n" " # Check f.cpp and search include files from inc1/ and inc2/:\n" - " cppcheck -I inc1/ -I inc2/ f.cpp\n"; + " cppcheck -I inc1/ -I inc2/ f.cpp\n" + "\n" + "For more information:\n" + " http://cppcheck.sf.net/manual.pdf\n"; reportOut(oss.str()); } else if (_filenames.empty()) diff --git a/readme.txt b/readme.txt index 4a2b1aa24..17f5610e1 100644 --- a/readme.txt +++ b/readme.txt @@ -7,6 +7,10 @@ About The original name of this program is "C++check" but it was later changed to "cppcheck". +Manual + + A manual is available online: + http://cppcheck.sf.net/manual.pdf Compiling @@ -20,7 +24,6 @@ Compiling * gnu make * g++ - qmake ===== You can use the gui/gui.pro file to build the gui. @@ -28,22 +31,22 @@ Compiling qmake make - Visual Studio ============= Use the cppcheck.sln file. - gnu make ======== - 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 + mingw + ===== + make LDFLAGS=-lshlwapi Cross compiling Win32 (CLI) version of Cppcheck in Linux @@ -51,10 +54,6 @@ Cross compiling Win32 (CLI) version of Cppcheck in Linux 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