aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/calendar/CMakeLists.txt
blob: bc9e7f0868921bda6078be4bd81a490565f2fd1e (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Generated from calendar.pro.

#####################################################################
## qtlabscalendarplugin Plugin:
#####################################################################

qt_add_qml_module(qtlabscalendarplugin
    URI "Qt.labs.calendar"
    VERSION "1.0"
    CLASSNAME QtLabsCalendarPlugin
    SOURCES
        qquickcalendar.cpp qquickcalendar_p.h
        qquickcalendarmodel.cpp qquickcalendarmodel_p.h
        qquickdayofweekmodel.cpp qquickdayofweekmodel_p.h
        qquickdayofweekrow.cpp qquickdayofweekrow_p.h
        qquickmonthgrid.cpp qquickmonthgrid_p.h
        qquickmonthmodel.cpp qquickmonthmodel_p.h
        qquickweeknumbercolumn.cpp qquickweeknumbercolumn_p.h
        qquickweeknumbermodel.cpp qquickweeknumbermodel_p.h
        qtlabscalendarplugin.cpp
    DEFINES
        QT_NO_CAST_FROM_ASCII
        QT_NO_CAST_TO_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::QmlPrivate
        Qt::QuickPrivate
        Qt::QuickTemplates2Private
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Qml
        Qt::Quick
)

#### Keys ignored in scope 1:.:.:calendar.pro:<TRUE>:
# IMPORT_VERSION = "1.0"
# OTHER_FILES = "qmldir"
# TARGETPATH = "Qt/labs/calendar"

## Scopes:
#####################################################################

set(qml_files
    "DayOfWeekRow.qml"
    "MonthGrid.qml"
    "WeekNumberColumn.qml"
)
set_source_files_properties(DayOfWeekRow.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)
set_source_files_properties(MonthGrid.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)
set_source_files_properties(WeekNumberColumn.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)

qt6_target_qml_files(qtlabscalendarplugin
    FILES
        ${qml_files}
)
qt_add_docs(qtlabscalendarplugin
    doc/qtlabscalendar.qdocconf
)