Marco is not happy with the plugin being here and having a Plasma namespace, so after some discussion it was decided to move it to KDeclarative and change to CalendarEvents namespace.
27 lines
633 B
CMake
27 lines
633 B
CMake
set(calendar_SRCS
|
|
calendarplugin.cpp
|
|
#incidencemodifier.cpp
|
|
calendar.cpp
|
|
calendardata.cpp
|
|
#calendardayhelper.cpp
|
|
#calendarroleproxymodel.cpp
|
|
#datetimerangefiltermodel.cpp
|
|
daysmodel.cpp
|
|
eventdatadecorator.cpp
|
|
eventpluginsmanager.cpp
|
|
)
|
|
|
|
add_library(calendarplugin SHARED ${calendar_SRCS})
|
|
|
|
target_link_libraries(calendarplugin
|
|
Qt5::Core
|
|
Qt5::Quick
|
|
Qt5::Qml
|
|
Qt5::Gui
|
|
KF5::I18n
|
|
KF5::CalendarEvents
|
|
)
|
|
|
|
install(TARGETS calendarplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)
|
|
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)
|