From 3bb2850c5c34f48dea5a72fcdfdeeabd6ca09433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 14 Feb 2011 19:50:16 +0100 Subject: [PATCH] Renaming HAVE_DEPENDENCIES to HAVE_RULES --- cli/cli.pro | 2 +- readme.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/cli.pro b/cli/cli.pro index 2195098de..efc3e4da3 100644 --- a/cli/cli.pro +++ b/cli/cli.pro @@ -5,7 +5,7 @@ INCLUDEPATH += . ../lib OBJECTS_DIR = temp CONFIG += warn_on CONFIG -= qt app_bundle -DEFINES += HAVE_DEPENDENCIES +DEFINES += HAVE_RULES BASEPATH = ../externals/tinyxml/ include($$PWD/../externals/tinyxml/tinyxml.pri) diff --git a/readme.txt b/readme.txt index 8788f47aa..0b0a0ab15 100644 --- a/readme.txt +++ b/readme.txt @@ -18,8 +18,8 @@ Compiling To build the GUI, you need Qt. - To build the command line tool, PCRE is needed. More information about PCRE is found in - build.txt + To build the command line tool, no dependencies are required. However for + the handling of rules, PCRE is needed. There are multiple compilation choices: * qmake - cross platform build tool @@ -48,7 +48,7 @@ Compiling g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp If you want to use --rule and --rule-file then dependencies are needed: - g++ -o cppcheck -lpcre -DHAVE_DEPENDENCIES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp + g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp mingw ===== make LDFLAGS=-lshlwapi