Warning, /frameworks/kdeclarative/src/calendarevents/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(calendar-integration_SRCS
0002 calendareventsplugin.cpp
0003 calendareventsplugin.h
0004 eventdata_p.cpp
0005 )
0006
0007 add_library(KF6CalendarEvents ${calendar-integration_SRCS})
0008 add_library(KF6::CalendarEvents ALIAS KF6CalendarEvents)
0009
0010 set_target_properties(KF6CalendarEvents PROPERTIES
0011 VERSION ${KDECLARATIVE_VERSION}
0012 SOVERSION ${KDECLARATIVE_SOVERSION}
0013 EXPORT_NAME CalendarEvents
0014 )
0015
0016 ecm_generate_export_header(KF6CalendarEvents
0017 BASE_NAME CalendarEvents
0018 GROUP_BASE_NAME KF
0019 VERSION ${KF_VERSION}
0020 USE_VERSION_HEADER
0021 VERSION_BASE_NAME KDeclarative
0022 DEPRECATED_BASE_VERSION 0
0023 )
0024
0025 target_link_libraries(KF6CalendarEvents PUBLIC Qt6::Core)
0026
0027 target_include_directories(KF6CalendarEvents
0028 INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KDeclarative>"
0029 PUBLIC "$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>" # module version header
0030 )
0031
0032 install(TARGETS KF6CalendarEvents EXPORT KF6DeclarativeTargets ${KF_INSTALL_TARGETS_DEFAULT_ARGS})
0033
0034 ecm_generate_headers(CalendarEvents_CamelCase_HEADERS
0035 HEADER_NAMES
0036 CalendarEventsPlugin
0037
0038 PREFIX CalendarEvents
0039 REQUIRED_HEADERS CalendarEvents_HEADERS
0040 )
0041 install(FILES ${CalendarEvents_CamelCase_HEADERS} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KDeclarative/CalendarEvents COMPONENT Devel)
0042
0043 install (FILES
0044 ${CalendarEvents_HEADERS}
0045 ${CMAKE_CURRENT_BINARY_DIR}/calendarevents_export.h
0046 DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KDeclarative/calendarevents COMPONENT Devel
0047 )
0048
0049 # make available to ecm_add_qch in parent folder
0050 set(CalendarEvents_QCH_SOURCES ${CalendarEvents_HEADERS} PARENT_SCOPE)
0051 set(CalendarEvents_QCH_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)