Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (12 sloc) 0.468 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
# If HAVE_RULES=yes is passed to qmake, use PCRE and enable rules
contains(HAVE_RULES, [yY][eE][sS]) {
    CONFIG += use_pcre_rules
}

use_pcre_rules {
    DEFINES += HAVE_RULES
    LIBS += -L../externals -lpcre
    INCLUDEPATH += ../externals
    message("Rules enabled - to disable them and remove the dependency on PCRE, pass HAVE_RULES=no to qmake.")
} else {
    message("Rules disabled - to enable them, make PCRE available and pass HAVE_RULES=yes to qmake.")
}
Something went wrong with that request. Please try again.