readme: added a little info about compiling without pcre

This commit is contained in:
Daniel Marjamäki 2011-04-23 08:59:54 +02:00
parent 6750c7b492
commit 46b73bc493
1 changed files with 11 additions and 4 deletions

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, no dependencies are required. However for When building the command line tool, PCRE is normally used.
the handling of rules, PCRE is needed. PCRE is optional.
There are multiple compilation choices: There are multiple compilation choices:
* qmake - cross platform build tool * qmake - cross platform build tool
@ -37,9 +37,16 @@ Compiling
Visual Studio Visual Studio
============= =============
Use the cppcheck.sln file. The pcre dll is needed, it can be downloaded from: 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 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 Qt Creator + mingw
================== ==================
The PCRE dll is needed to build the CLI. It can be downloaded here: The PCRE dll is needed to build the CLI. It can be downloaded here: