2021-06-30 12:35:52 +03:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../widgetsexplorer
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
add_definitions(-DPLASMAGENERICSHELL_EXPORT=)
|
|
|
|
|
|
|
|
set(appletexplorer_SRCS
|
|
|
|
../widgetsexplorer/kcategorizeditemsviewmodels.cpp
|
|
|
|
../widgetsexplorer/plasmaappletitemmodel.cpp
|
|
|
|
../widgetsexplorer/widgetexplorer.cpp
|
|
|
|
../widgetsexplorer/openwidgetassistant.cpp
|
|
|
|
main.cpp
|
|
|
|
)
|
2015-09-01 04:37:19 +03:00
|
|
|
add_executable(plasmaappletexplorer ${appletexplorer_SRCS})
|
2021-06-30 12:35:52 +03:00
|
|
|
target_link_libraries(plasmaappletexplorer
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${KDE4_KFILE_LIBS}
|
|
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
set(backgrounddialog_SRCS
|
|
|
|
background.cpp
|
|
|
|
../backgrounddialog.cpp
|
|
|
|
../mouseinputbutton.cpp
|
|
|
|
../mouseplugins.cpp
|
|
|
|
../mousepluginwidget.cpp
|
|
|
|
../wallpaperpreview.cpp
|
2015-09-25 01:50:19 +00:00
|
|
|
../MousePlugins.ui
|
|
|
|
../MousePlugins.ui
|
|
|
|
../BackgroundDialog.ui
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
2016-04-01 08:16:11 +00:00
|
|
|
kde4_add_kcfg_files(backgrounddialog_SRCS ${CMAKE_SOURCE_DIR}/plasma/shells/plasma-desktop/data/plasma-shell-desktop.kcfgc)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_executable(plasmabackgrounddialog ${backgrounddialog_SRCS})
|
2021-02-26 20:14:30 +02:00
|
|
|
target_link_libraries(plasmabackgrounddialog ${KDE4_PLASMA_LIBS} ${QT_QTUITOOLS_LIBRARY} ${KDE4_KFILE_LIBS} kworkspace)
|
2014-11-13 19:30:51 +02:00
|
|
|
|