qtdeclarative/tests/auto/qml/qqmljsscope/QQmlJSScopeTests/CMakeLists.txt

16 lines
513 B
CMake

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
VERSION 1.0
URI QQmlJSScopeTests
SOURCES
singleton.h singleton.cpp
)
qt_autogen_tools_initial_setup(qqmljsscope_test_moduleplugin)