aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols2/screenshots/CMakeLists.txt
blob: b6bd2926152cb0f3b17c7b02517af77dd2f8224d (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
36
37
38
39
40
# Generated from screenshots.pro.

if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
    cmake_minimum_required(VERSION 3.16)
    project(screenshots LANGUAGES C CXX ASM)
    find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()

#####################################################################
## screenshots Binary:
#####################################################################

qt_internal_add_manual_test(screenshots
    GUI
    SOURCES
        screenshots.cpp
    DEFINES
        SNIPPETS_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports/controls/doc/snippets\\\"
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::Quick
        Qt::Widgets
)

# Resources:
set(qmake_immediate_resource_files
    "qtquickcontrols2.conf"
    "screenshots.qml"
)

qt_internal_add_resource(screenshots "qmake_immediate"
    PREFIX
        "/"
    FILES
        ${qmake_immediate_resource_files}
)


#### Keys ignored in scope 1:.:.:screenshots.pro:<TRUE>:
# TEMPLATE = "app"