Debian Codegraph @

tests/auto/corelib/text/qbytearray_large/CMakeLists.txt

raw
1 # Copyright (C) 2022 The Qt Company Ltd.
2 # SPDX-License-Identifier: BSD-3-Clause
3
4 if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
5 cmake_minimum_required(VERSION 3.16)
6 project(tst_qbytearray_large LANGUAGES CXX)
7 find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
8 endif()
9
10 qt_internal_add_test(tst_qbytearray_large
11 SOURCES
12 tst_qbytearray_large.cpp
13 LIBRARIES
14 Qt::Core
15 TESTDATA "rfc3252.txt"
16 )
17
18 qt_internal_is_in_test_batch(in_batch tst_qbytearray_large)
19 if(in_batch)
20 _qt_internal_test_batch_target_name(test_target)
21 else()
22 set(test_target tst_qbytearray_large)
23 endif()
24
25 qt_internal_set_exceptions_flags(${test_target} TRUE)