aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmljsscope/QQmlJSScopeTests/CMakeLists.txt
blob: 3431398f47ac76843692746bedd678f2180f15dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

qt_add_library(qqmljsscope_test_module STATIC)
qt_autogen_tools_initial_setup(qqmljsscope_test_module)

# use PUBLIC everywhere to simplify the build of the test binary
target_include_directories(qqmljsscope_test_module PUBLIC cpptypes/)
target_link_libraries(qqmljsscope_test_module PUBLIC Qt::Core Qt::Qml Qt::Gui)

qt6_add_qml_module(qqmljsscope_test_module
    URI QQmlJSScopeTests
    AUTO_RESOURCE_PREFIX
    SOURCES
        singleton.h singleton.cpp
        extensiontypes.h
        typewithproperties.h
)

qt_autogen_tools_initial_setup(qqmljsscope_test_moduleplugin)