blob: 13a70a22be091aae081e82501ba9722524db9bbc (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
qt_internal_add_plugin(TestInitResourcesStaticPlugin STATIC
OUTPUT_NAME
testinitresourcesstaticplugin
PLUGIN_TYPE mockstaticresources
SOURCES
pluginmain.cpp
SKIP_INSTALL
LIBRARIES
Qt::Core
)
qt_internal_add_resource(TestInitResourcesStaticPlugin "teststaticplugin1"
PREFIX
"/teststaticplugin1"
FILES
"testfile1.txt"
)
qt_internal_add_resource(TestInitResourcesStaticPlugin "teststaticplugin2"
PREFIX
"/teststaticplugin2"
FILES
"testfile2.txt"
)
qt_internal_add_test(test_init_resources_static_plugin
SOURCES
test_init_resources_static_plugin.cpp
LIBRARIES
Qt::Core
TestInitResourcesStaticPlugin
)
|