diff options
Diffstat (limited to 'src/3rdparty/pcre2')
-rw-r--r-- | src/3rdparty/pcre2/pcre2.pro | 52 | ||||
-rw-r--r-- | src/3rdparty/pcre2/src/config.h | 2 |
2 files changed, 53 insertions, 1 deletions
diff --git a/src/3rdparty/pcre2/pcre2.pro b/src/3rdparty/pcre2/pcre2.pro new file mode 100644 index 0000000000..d3a4e08bc5 --- /dev/null +++ b/src/3rdparty/pcre2/pcre2.pro @@ -0,0 +1,52 @@ +TARGET = qtpcre2 + +CONFIG += \ + static \ + hide_symbols \ + exceptions_off rtti_off warn_off + + +MODULE_DEFINES += PCRE2_CODE_UNIT_WIDTH=16 +win32: MODULE_DEFINES += PCRE2_STATIC +MODULE_INCLUDEPATH += $$PWD/src + +load(qt_helper_lib) + +DEFINES += HAVE_CONFIG_H + +# platform/compiler specific definitions +ios|qnx|winrt: DEFINES += PCRE2_DISABLE_JIT + +SOURCES += \ + $$PWD/src/pcre2_auto_possess.c \ + $$PWD/src/pcre2_chartables.c \ + $$PWD/src/pcre2_compile.c \ + $$PWD/src/pcre2_config.c \ + $$PWD/src/pcre2_context.c \ + $$PWD/src/pcre2_dfa_match.c \ + $$PWD/src/pcre2_error.c \ + $$PWD/src/pcre2_find_bracket.c \ + $$PWD/src/pcre2_jit_compile.c \ + $$PWD/src/pcre2_maketables.c \ + $$PWD/src/pcre2_match.c \ + $$PWD/src/pcre2_match_data.c \ + $$PWD/src/pcre2_newline.c \ + $$PWD/src/pcre2_ord2utf.c \ + $$PWD/src/pcre2_pattern_info.c \ + $$PWD/src/pcre2_printint.c \ + $$PWD/src/pcre2_serialize.c \ + $$PWD/src/pcre2_string_utils.c \ + $$PWD/src/pcre2_study.c \ + $$PWD/src/pcre2_substitute.c \ + $$PWD/src/pcre2_substring.c \ + $$PWD/src/pcre2_tables.c \ + $$PWD/src/pcre2_ucd.c \ + $$PWD/src/pcre2_valid_utf.c \ + $$PWD/src/pcre2_xclass.c + +HEADERS += \ + $$PWD/src/config.h \ + $$PWD/src/pcre2.h \ + $$PWD/src/pcre2_internal.h \ + $$PWD/src/pcre2_intmodedep.h \ + $$PWD/src/pcre2_ucp.h diff --git a/src/3rdparty/pcre2/src/config.h b/src/3rdparty/pcre2/src/config.h index df8e3cff67..fbebfe6be0 100644 --- a/src/3rdparty/pcre2/src/config.h +++ b/src/3rdparty/pcre2/src/config.h @@ -28,7 +28,7 @@ For non-x86 platforms we stick to the __GNUC__ compilers only. */ -#if !defined(PCRE_DISABLE_JIT) && (\ +#if !defined(PCRE2_DISABLE_JIT) && (\ /* ARM */ \ (defined(__GNUC__) \ && (defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__aarch64__))) \ |