summaryrefslogtreecommitdiffstats
path: root/pcre.pro
blob: 223ccfc89d6de04eaa7ec2b0c32160dab5dca78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
TARGET = pcre
include($$PWD/../../commonplatform.pri)
CONFIG += staticlib

DEFINES += HAVE_CONFIG_H

win32 {
INCLUDEPATH += 8.31/windows
}

linux|integrity {
INCLUDEPATH += 8.31/linux
}

mac {
INCLUDEPATH += 8.31/macosx
}

INCLUDEPATH += 8.31

clang {
#Ignore selected warnings from pcre lib (as it's a 3rd party lib)
QMAKE_CXXFLAGS_WARN_ON = -Wall \
    -Wno-unused-parameter \
    -Wno-missing-field-initializers \
    -Wno-unused-variable

QMAKE_CFLAGS_WARN_ON = -Wall \
    -Wno-unused-parameter \
    -Wno-missing-field-initializers \
    -Wno-unused-variable
}

include(pcre.pri)

load(qt_helper_lib)