Skip to content

Commit 3bb2850

Browse files
author
Daniel Marjamäki
committed
Renaming HAVE_DEPENDENCIES to HAVE_RULES
1 parent 8057736 commit 3bb2850

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎cli/cli.pro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ INCLUDEPATH += . ../lib
55
OBJECTS_DIR = temp
66
CONFIG += warn_on
77
CONFIG -= qt app_bundle
8-
DEFINES += HAVE_DEPENDENCIES
8+
DEFINES += HAVE_RULES
99

1010
BASEPATH = ../externals/tinyxml/
1111
include($$PWD/../externals/tinyxml/tinyxml.pri)

‎readme.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Compiling
1818

1919
To build the GUI, you need Qt.
2020

21-
To build the command line tool, PCRE is needed. More information about PCRE is found in
22-
build.txt
21+
To build the command line tool, no dependencies are required. However for
22+
the handling of rules, PCRE is needed.
2323

2424
There are multiple compilation choices:
2525
* qmake - cross platform build tool
@@ -48,7 +48,7 @@ Compiling
4848
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
4949

5050
If you want to use --rule and --rule-file then dependencies are needed:
51-
g++ -o cppcheck -lpcre -DHAVE_DEPENDENCIES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp
51+
g++ -o cppcheck -lpcre -DHAVE_RULES -Ilib -Iexternals cli/*.cpp lib/*.cpp externals/tinyxml/*.cpp
5252
mingw
5353
=====
5454
make LDFLAGS=-lshlwapi

0 commit comments

Comments
 (0)