Skip to content

Commit

Permalink
readme: added a little info about compiling without pcre
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Marjamäki committed Apr 23, 2011
1 parent 6750c7b commit 46b73bc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Compiling

To build the GUI, you need Qt.

To build the command line tool, no dependencies are required. However for
the handling of rules, PCRE is needed.
When building the command line tool, PCRE is normally used.
PCRE is optional.

There are multiple compilation choices:
* qmake - cross platform build tool
Expand All @@ -37,8 +37,15 @@ Compiling

Visual Studio
=============
Use the cppcheck.sln file. The pcre dll is needed, it can be downloaded from:
http://cppcheck.sf.net/pcre-8.10-vs.zip
Use the cppcheck.sln file. The rules are normally enabled.

To compile with rules (pcre dependency):
* the pcre dll is needed. it can be downloaded from:
http://cppcheck.sf.net/pcre-8.10-vs.zip

To compile without rules (no dependencies):
* remove the preprocessor define HAVE_RULES from the project
* remove the pcre.lib from the project

Qt Creator + mingw
==================
Expand Down

0 comments on commit 46b73bc

Please sign in to comment.