2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-09-09 06:08:43 +00:00
|
|
|
#####################################################################
|
|
|
|
## tst_qdbuscpp2xml Test:
|
|
|
|
#####################################################################
|
|
|
|
|
2023-06-29 15:37:51 +00:00
|
|
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(tst_qdbuscpp2xml LANGUAGES CXX)
|
|
|
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
|
|
|
endif()
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qdbuscpp2xml
|
2019-09-09 06:08:43 +00:00
|
|
|
SOURCES
|
|
|
|
test1.h
|
|
|
|
tst_qdbuscpp2xml.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2023-08-10 17:07:08 +00:00
|
|
|
Qt::DBusPrivate
|
2019-09-09 06:08:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Resources:
|
|
|
|
set(qdbuscpp2xml_resource_files
|
|
|
|
"test1.h"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(tst_qdbuscpp2xml "qdbuscpp2xml"
|
2019-09-09 06:08:43 +00:00
|
|
|
PREFIX
|
|
|
|
"/tst_qdbuscpp2xml/"
|
|
|
|
FILES
|
|
|
|
${qdbuscpp2xml_resource_files}
|
|
|
|
)
|
|
|
|
|