summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
diff options
context:
space:
mode:
authorArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-09 22:28:59 (GMT)
committerArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-10 01:28:58 (GMT)
commitbacf934f35c51baf49d0b73cf4fb79e860e24303 (patch)
tree502b03432d692abf4bd03000575586ae1f119c1b /tests/benchmarks/corelib/tools/qregexp/qregexp.pro
parentaf3a204b8b3e780438c39425ba74338cc6a46a80 (diff)
downloadQt-bacf934f35c51baf49d0b73cf4fb79e860e24303.zip
Qt-bacf934f35c51baf49d0b73cf4fb79e860e24303.tar.gz
Qt-bacf934f35c51baf49d0b73cf4fb79e860e24303.tar.bz2
add performance comparisons to qregexp benchmark
Reviewed-by: hjk
Diffstat (limited to 'tests/benchmarks/corelib/tools/qregexp/qregexp.pro')
-rw-r--r--tests/benchmarks/corelib/tools/qregexp/qregexp.pro11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
index e0f47c9..ffdad12 100644
--- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
+++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
@@ -3,10 +3,19 @@ TEMPLATE = app
TARGET = tst_bench_qregexp
DEPENDPATH += .
INCLUDEPATH += .
-
+RESOURCES+=qregexp.qrc
QT -= gui
+QT += script
CONFIG += release
# Input
SOURCES += main.cpp
+
+include( $${QT_SOURCE_TREE}/src/3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri )
+
+exists( /usr/include/boost/regex.hpp ){
+DEFINES+=HAVE_BOOST
+LIBS+=-lboost_regex
+}
+