Renaming HAVE_DEPENDENCIES to HAVE_RULES

This commit is contained in:
Daniel Marjamäki 2011-02-14 19:50:16 +01:00
parent 805773663e
commit 3bb2850c5c
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ INCLUDEPATH += . ../lib
OBJECTS_DIR = temp OBJECTS_DIR = temp
CONFIG += warn_on CONFIG += warn_on
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
DEFINES += HAVE_DEPENDENCIES DEFINES += HAVE_RULES
BASEPATH = ../externals/tinyxml/ BASEPATH = ../externals/tinyxml/
include($$PWD/../externals/tinyxml/tinyxml.pri) include($$PWD/../externals/tinyxml/tinyxml.pri)

View File

@ -18,8 +18,8 @@ Compiling
To build the GUI, you need Qt. To build the GUI, you need Qt.
To build the command line tool, PCRE is needed. More information about PCRE is found in To build the command line tool, no dependencies are required. However for
build.txt the handling of rules, PCRE is needed.
There are multiple compilation choices: There are multiple compilation choices:
* qmake - cross platform build tool * qmake - cross platform build tool
@ -48,7 +48,7 @@ Compiling
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
If you want to use --rule and --rule-file then dependencies are needed: 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 mingw
===== =====
make LDFLAGS=-lshlwapi make LDFLAGS=-lshlwapi