diff options
Diffstat (limited to 'tests/auto/corelib/io/qloggingregistry/CMakeLists.txt')
-rw-r--r-- | tests/auto/corelib/io/qloggingregistry/CMakeLists.txt | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt index 4c903de17f..5442c76e7f 100644 --- a/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt +++ b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt @@ -1,36 +1,23 @@ -# Generated from qloggingregistry.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## tst_qloggingregistry Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qloggingregistry LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + # Collect test data list(APPEND test_data "qtlogging.ini") qt_internal_add_test(tst_qloggingregistry SOURCES tst_qloggingregistry.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate TESTDATA ${test_data} ) - -#### Keys ignored in scope 1:.:.:qloggingregistry.pro:<TRUE>: -# TEMPLATE = "app" - -## Scopes: -##################################################################### - -if(ANDROID AND NOT ANDROID_EMBEDDED) - # Resources: - set(android_testdata_resource_files - "qtlogging.ini" - ) - - qt_internal_add_resource(tst_qloggingregistry "android_testdata" - PREFIX - "/" - FILES - ${android_testdata_resource_files} - ) -endif() |