From 690c32dd86aee5a01064a4272316972aaf1c37f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 15 Feb 2014 08:22:13 +0100 Subject: [PATCH] readme: document how a project file or Makefile is created for Cppcheck --- readme.md | 6 ++++++ readme.txt | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/readme.md b/readme.md index d55b06ddf..f9cc31e5c 100644 --- a/readme.md +++ b/readme.md @@ -105,6 +105,12 @@ g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp extern make LDFLAGS=-lshlwapi ``` +### Other Compiler/IDE + +1. Create a empty project file / makefile. +2. Add all cpp files in the cppcheck cli and lib folders to the project file / makefile. +3. Compile. + ### Cross compiling Win32 (CLI) version of Cppcheck in Linux ```shell diff --git a/readme.txt b/readme.txt index f1ccc1b3b..32002b9c1 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,13 @@ Compiling The "LDFLAGS=-lshlwapi" is needed when building with mingw mingw32-make LDFLAGS=-lshlwapi + other compilers/ide + =================== + + 1. Create a empty project file / makefile. + 2. Add all cpp files in the cppcheck cli and lib folders to the project file / makefile. + 3. Compile. + Cross compiling Win32 (CLI) version of Cppcheck in Linux sudo apt-get install mingw32