summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/pcre
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-03-20 17:02:15 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-03-20 18:12:09 +0000
commitb5e0e433cc1288f3176474ff49ccfd69b914c194 (patch)
tree000aebf03ca549e1ecec20c179cf3f0d9bc4cbc9 /src/3rdparty/pcre
parent0a275328904b8b66cc80e36b627a48c35b13c205 (diff)
Build bundled PCRE copy as qt_helper_lib
We already have an infrastructure for that. Change-Id: I9110b74dcf7f93362586687da6f112e72cb663a4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/3rdparty/pcre')
-rw-r--r--src/3rdparty/pcre/pcre.pro44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/3rdparty/pcre/pcre.pro b/src/3rdparty/pcre/pcre.pro
new file mode 100644
index 0000000000..1735fb3314
--- /dev/null
+++ b/src/3rdparty/pcre/pcre.pro
@@ -0,0 +1,44 @@
+TARGET = qtpcre
+
+CONFIG += \
+ static \
+ hide_symbols \
+ exceptions_off rtti_off warn_off
+
+load(qt_helper_lib)
+
+DEFINES += PCRE_HAVE_CONFIG_H
+
+# platform/compiler specific definitions
+win32: DEFINES += PCRE_STATIC
+ios|qnx|winrt: DEFINES += PCRE_DISABLE_JIT
+
+SOURCES += \
+ $$PWD/pcre16_byte_order.c \
+ $$PWD/pcre16_chartables.c \
+ $$PWD/pcre16_compile.c \
+ $$PWD/pcre16_config.c \
+ $$PWD/pcre16_dfa_exec.c \
+ $$PWD/pcre16_exec.c \
+ $$PWD/pcre16_fullinfo.c \
+ $$PWD/pcre16_get.c \
+ $$PWD/pcre16_globals.c \
+ $$PWD/pcre16_jit_compile.c \
+ $$PWD/pcre16_maketables.c \
+ $$PWD/pcre16_newline.c \
+ $$PWD/pcre16_ord2utf16.c \
+ $$PWD/pcre16_refcount.c \
+ $$PWD/pcre16_string_utils.c \
+ $$PWD/pcre16_study.c \
+ $$PWD/pcre16_tables.c \
+ $$PWD/pcre16_ucd.c \
+ $$PWD/pcre16_utf16_utils.c \
+ $$PWD/pcre16_valid_utf16.c \
+ $$PWD/pcre16_version.c \
+ $$PWD/pcre16_xclass.c
+
+HEADERS += \
+ $$PWD/config.h \
+ $$PWD/pcre.h \
+ $$PWD/pcre_internal.h \
+ $$PWD/ucp.h