1 include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs ${KDEBASE_WORKSPACE_SOURCE_DIR}/plasma/shells/common)
3 set(appletbrowserdialog_SRCS
4 ../common/appletbrowser.cpp
5 ../common/customdragtreeview.cpp
6 ../common/kcategorizeditemsview.cpp
7 ../common/kcategorizeditemsviewdelegate.cpp
8 ../common/kcategorizeditemsviewmodels.cpp
9 ../common/openwidgetassistant.cpp
10 ../common/plasmaappletitemmodel.cpp
14 ../common/wallpaperpreview.cpp
18 appletbrowserdialog_SRCS
19 ../common/kcategorizeditemsviewbase.ui
22 set(plasma-overlay_SRCS
28 ${appletbrowserdialog_SRCS}
32 kde4_add_ui_files(plasma-overlay_SRCS BackgroundDialog.ui)
34 set(plasmaapp_dbusXML org.kde.plasma-overlay.App.xml)
35 #qt4_generate_dbus_interface(plasmaapp.h ${plasmaapp_dbusXML} OPTIONS -S -M)
36 qt4_add_dbus_adaptor(plasma-overlay_SRCS ${plasmaapp_dbusXML} plasmaapp.h PlasmaApp)
38 kde4_add_executable(plasma-overlay ${plasma-overlay_SRCS})
40 target_link_libraries(plasma-overlay ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS}
43 target_link_libraries(plasma-overlay ${X11_Xrender_LIB})
44 endif(X11_Xrender_FOUND)
45 set_target_properties(plasma-overlay PROPERTIES OUTPUT_NAME plasma-overlay)
47 install(TARGETS plasma-overlay ${INSTALL_TARGETS_DEFAULT_ARGS})
48 install(FILES plasma-overlayrc DESTINATION ${CONFIG_INSTALL_DIR})