summaryrefslogtreecommitdiffstats
path: root/src/imports/calendar/CMakeLists.txt
blob: 0afdf4b7e069d40365f09e3dfe792420063a769e (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.

#####################################################################
## qtquickcalendarplugin Plugin:
#####################################################################

qt_add_qml_module(qtquickcalendarplugin
    URI "QtQuick.Calendar"
    VERSION "1.0"
    CLASSNAME QtQuickCalendarPlugin
    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
        qtquickcalendarplugin.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 = "QtQuick/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(qtquickcalendarplugin
    FILES
        ${qml_files}
)
qt_add_docs(qtquickcalendarplugin
    doc/qtquickcalendar.qdocconf
)