summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/text/qregexp/CMakeLists.txt
blob: e1dcd5c131cd1754ebb1158af9bc6e98d2e48715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Generated from qregexp.pro.

#####################################################################
## tst_bench_qregexp Binary:
#####################################################################

add_qt_benchmark(tst_bench_qregexp
    EXCEPTIONS
    SOURCES
        main.cpp
    PUBLIC_LIBRARIES
        Qt::Test
)

# Resources:
set(qregexp_resource_files
    "main.cpp"
)

add_qt_resource(tst_bench_qregexp "qregexp"
    PREFIX
        "/"
    FILES
        ${qregexp_resource_files}
)


#### Keys ignored in scope 1:.:.:qregexp.pro:<TRUE>:
# TEMPLATE = "app"

## Scopes:
#####################################################################

extend_target(tst_bench_qregexp CONDITION TARGET Qt::Script AND NOT pcre
    DEFINES
        HAVE_JSC
    PUBLIC_LIBRARIES
        Qt::Script
)

extend_target(tst_bench_qregexp CONDITION (NOT QNX) AND (EXISTS _ss_[QT_SYSROOT]/usr/include/boost/regex.hpp)
    DEFINES
        HAVE_BOOST
    PUBLIC_LIBRARIES
        boost_regex
)