Warning, /frameworks/kdeclarative/src/qmlcontrols/draganddrop/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(declarativedragdrop_SRCS
0002     DeclarativeDragArea.cpp
0003     DeclarativeDragArea.h
0004     DeclarativeDragDropEvent.cpp
0005     DeclarativeDragDropEvent.h
0006     DeclarativeDropArea.cpp
0007     DeclarativeDropArea.h
0008     DeclarativeMimeData.cpp
0009     DeclarativeMimeData.h
0010     draganddropplugin.cpp
0011     draganddropplugin.h
0012     MimeDataWrapper.cpp
0013     MimeDataWrapper.h
0014 )
0015 
0016 add_library(draganddropplugin ${declarativedragdrop_SRCS})
0017 target_link_libraries(draganddropplugin
0018         Qt${QT_MAJOR_VERSION}::Core
0019         Qt${QT_MAJOR_VERSION}::Quick
0020         Qt${QT_MAJOR_VERSION}::Qml
0021         Qt${QT_MAJOR_VERSION}::Gui
0022 )
0023 
0024 if(WIN32 AND BUILD_SHARED_LIBS)
0025     set_target_properties(draganddropplugin PROPERTIES PREFIX "")
0026 endif()
0027 
0028 install(TARGETS draganddropplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/draganddrop)
0029 
0030 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/draganddrop)