summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/text/qregexp/qregexp.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/text/qregexp/qregexp.pro')
-rw-r--r--tests/benchmarks/corelib/text/qregexp/qregexp.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/benchmarks/corelib/text/qregexp/qregexp.pro b/tests/benchmarks/corelib/text/qregexp/qregexp.pro
new file mode 100644
index 0000000000..f64ae781a2
--- /dev/null
+++ b/tests/benchmarks/corelib/text/qregexp/qregexp.pro
@@ -0,0 +1,20 @@
+TEMPLATE = app
+TARGET = tst_bench_qregexp
+QT = core testlib
+CONFIG += release exceptions
+
+SOURCES += main.cpp
+RESOURCES += qregexp.qrc
+
+qtHaveModule(script):!pcre {
+ DEFINES += HAVE_JSC
+ QT += script
+}
+
+!qnx {
+ exists($$[QT_SYSROOT]/usr/include/boost/regex.hpp) {
+ DEFINES += HAVE_BOOST
+ LIBS += -lboost_regex
+ }
+}
+