3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-22 15:15:53 +00:00
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

51 lines
1.3 KiB
CMake

include(GenerateExportHeader)
if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING)
endif(BUILD_TESTING)
set(folderplugin_SRCS
directorypicker.cpp
foldermodel.cpp
folderplugin.cpp
itemviewadapter.cpp
labelgenerator.cpp
menuhelper.cpp
mimetypesmodel.cpp
placesmodel.cpp
positioner.cpp
previewpluginsmodel.cpp
rubberband.cpp
subdialog.cpp
viewpropertiesmenu.cpp
wheelinterceptor.cpp
shortcut.cpp
screenmapper.cpp
removeaction.cpp
)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/private/desktopcontainment/folder)
add_library(folderplugin SHARED ${folderplugin_SRCS})
target_link_libraries(folderplugin
Qt::Core
Qt::Qml
Qt::Quick
KF5::Activities
KF5::CoreAddons
KF5::KIOCore
KF5::KIOWidgets
KF5::KIOFileWidgets
KF5::I18n
KF5::PlasmaQuick
KF5::ConfigGui)
install(TARGETS folderplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/private/desktopcontainment/folder)
generate_export_header(folderplugin BASE_NAME folderplugin)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif(BUILD_TESTING)