diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-03 15:39:37 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-05-05 18:41:20 +0200 |
commit | 412dd857b81471277e1014b6329f46a389a42cb3 (patch) | |
tree | dd1c16b973f01be75b6184106e8a6e158b5286cf /qmake/.prev_CMakeLists.txt | |
parent | 52f3a7d9d40d3bf835bb0716ad201ee56731b980 (diff) |
Compile QRegularExpression into qmake
This is required to be able to port qmake over to use
QRegularExpression instead of QRegExp.
Change-Id: I0ad2c19bf3c0a28e52c1e12b4d3daa0300a75ed2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/.prev_CMakeLists.txt')
-rw-r--r-- | qmake/.prev_CMakeLists.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/qmake/.prev_CMakeLists.txt b/qmake/.prev_CMakeLists.txt index e926f1d125..1e2bfb2448 100644 --- a/qmake/.prev_CMakeLists.txt +++ b/qmake/.prev_CMakeLists.txt @@ -6,6 +6,37 @@ qt_add_executable(qmake SOURCES + ../src/3rdparty/pcre2/src/config.h + ../src/3rdparty/pcre2/src/pcre2.h + ../src/3rdparty/pcre2/src/pcre2_auto_possess.c + ../src/3rdparty/pcre2/src/pcre2_chartables.c + ../src/3rdparty/pcre2/src/pcre2_compile.c + ../src/3rdparty/pcre2/src/pcre2_config.c + ../src/3rdparty/pcre2/src/pcre2_context.c + ../src/3rdparty/pcre2/src/pcre2_dfa_match.c + ../src/3rdparty/pcre2/src/pcre2_error.c + ../src/3rdparty/pcre2/src/pcre2_extuni.c + ../src/3rdparty/pcre2/src/pcre2_find_bracket.c + ../src/3rdparty/pcre2/src/pcre2_internal.h + ../src/3rdparty/pcre2/src/pcre2_intmodedep.h + ../src/3rdparty/pcre2/src/pcre2_jit_compile.c + ../src/3rdparty/pcre2/src/pcre2_maketables.c + ../src/3rdparty/pcre2/src/pcre2_match.c + ../src/3rdparty/pcre2/src/pcre2_match_data.c + ../src/3rdparty/pcre2/src/pcre2_newline.c + ../src/3rdparty/pcre2/src/pcre2_ord2utf.c + ../src/3rdparty/pcre2/src/pcre2_pattern_info.c + ../src/3rdparty/pcre2/src/pcre2_script_run.c + ../src/3rdparty/pcre2/src/pcre2_serialize.c + ../src/3rdparty/pcre2/src/pcre2_string_utils.c + ../src/3rdparty/pcre2/src/pcre2_study.c + ../src/3rdparty/pcre2/src/pcre2_substitute.c + ../src/3rdparty/pcre2/src/pcre2_substring.c + ../src/3rdparty/pcre2/src/pcre2_tables.c + ../src/3rdparty/pcre2/src/pcre2_ucd.c + ../src/3rdparty/pcre2/src/pcre2_ucp.h + ../src/3rdparty/pcre2/src/pcre2_valid_utf.c + ../src/3rdparty/pcre2/src/pcre2_xclass.c ../src/corelib/codecs/qutfcodec.cpp ../src/corelib/codecs/qutfcodec_p.h ../src/corelib/global/qglobal.cpp ../src/corelib/global/qglobal.h ../src/corelib/global/qlibraryinfo.cpp @@ -93,6 +124,7 @@ qt_add_executable(qmake qlocale.cpp-NOTFOUND qlocale.h-NOTFOUND qlocale_tools.cpp-NOTFOUND qlocale_tools_p.h-NOTFOUND qregexp.cpp-NOTFOUND qregexp.h-NOTFOUND + qregularexpression.cpp-NOTFOUND qregularexpression.h-NOTFOUND qromancalendar.cpp-NOTFOUND qromancalendar_p.h-NOTFOUND qstring.cpp-NOTFOUND qstring.h-NOTFOUND qstringlist.cpp-NOTFOUND qstringlist.h-NOTFOUND @@ -100,6 +132,7 @@ qt_add_executable(qmake qvsnprintf.cpp-NOTFOUND DEFINES (QT_VERSION_STR=\"\") + HAVE_CONFIG_H PROEVALUATOR_FULL QT_BOOTSTRAPPED QT_BUILD_QMAKE @@ -107,6 +140,8 @@ qt_add_executable(qmake QT_VERSION_MAJOR= QT_VERSION_MINOR= QT_VERSION_PATCH= + PUBLIC_DEFINES + PCRE2_CODE_UNIT_WIDTH=16 INCLUDE_DIRECTORIES (..)/include (..)/include/QtCore (..)/include/QtCore @@ -119,6 +154,8 @@ qt_add_executable(qmake generators/unix generators/win32 library + PUBLIC_INCLUDE_DIRECTORIES + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../src/3rdparty/pcre2/src> PUBLIC_LIBRARIES Qt::Gui PRECOMPILED_HEADER @@ -146,6 +183,8 @@ qt_extend_target(qmake CONDITION WIN32 _CRT_SECURE_NO_WARNINGS _ENABLE_EXTENDED_ALIGNED_STORAGE _SCL_SECURE_NO_WARNINGS + PUBLIC_DEFINES + PCRE2_STATIC PUBLIC_LIBRARIES advapi32 kernel32 |