Revision control

Copy as Markdown

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from qregexp.pro.
#####################################################################
## tst_bench_qregexp Binary:
#####################################################################
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(tst_bench_qregexp LANGUAGES CXX)
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_benchmark(tst_bench_qregexp
EXCEPTIONS
SOURCES
main.cpp
LIBRARIES
Qt::Core5Compat
Qt::Test
)
# Resources:
set(qregexp_resource_files
"main.cpp"
)
qt_internal_add_resource(tst_bench_qregexp "qregexp"
PREFIX
"/"
FILES
${qregexp_resource_files}
)
#### Keys ignored in scope 1:.:.:qregexp.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
qt_internal_extend_target(tst_bench_qregexp CONDITION TARGET Qt::Script AND NOT pcre
DEFINES
HAVE_JSC
LIBRARIES
Qt::Script
)
qt_internal_extend_target(tst_bench_qregexp CONDITION (NOT QNX) AND (EXISTS _ss_[QT_SYSROOT]/usr/include/boost/regex.hpp)
DEFINES
HAVE_BOOST
LIBRARIES
boost_regex
)