Warning, /plasma/plasma-desktop/containments/desktop/plugins/folder/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(GenerateExportHeader)
0002 
0003 if(BUILD_TESTING)
0004    add_definitions(-DBUILD_TESTING)
0005 endif(BUILD_TESTING)
0006 
0007 set(folderplugin_SRCS
0008     applauncher.cpp
0009     directorypicker.cpp
0010     foldermodel.cpp
0011     folderplugin.cpp
0012     itemviewadapter.cpp
0013     labelgenerator.cpp
0014     menuhelper.cpp
0015     mimetypesmodel.cpp
0016     placesmodel.cpp
0017     positioner.cpp
0018     previewpluginsmodel.cpp
0019     rubberband.cpp
0020     subdialog.cpp
0021     viewpropertiesmenu.cpp
0022     wheelinterceptor.cpp
0023     shortcut.cpp
0024     screenmapper.cpp
0025     removeaction.cpp
0026     eventgenerator.cpp
0027 )
0028 
0029 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/private/desktopcontainment/folder)
0030 
0031 add_library(folderplugin SHARED ${folderplugin_SRCS})
0032 
0033 target_link_libraries(folderplugin
0034                       Qt::Core
0035                       Qt::Qml
0036                       Qt::Quick
0037                       Plasma::Activities
0038                       KF6::CoreAddons
0039                       KF6::KIOCore
0040                       KF6::KIOWidgets
0041                       KF6::KIOFileWidgets
0042                       KF6::I18n
0043                       Plasma::PlasmaQuick
0044                       KF6::ConfigGui
0045                       KF6::Notifications
0046                       KF6::XmlGui)
0047 
0048 install(TARGETS folderplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/private/desktopcontainment/folder)
0049 
0050 ecm_qt_declare_logging_category(folderplugin
0051     HEADER debug.h
0052     IDENTIFIER FOLDER
0053     CATEGORY_NAME org.kde.plasma.folder
0054 )
0055 
0056 generate_export_header(folderplugin BASE_NAME folderplugin)
0057 
0058 if(BUILD_TESTING)
0059     add_subdirectory(autotests)
0060 endif(BUILD_TESTING)