not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / shells / screensaver / CMakeLists.txt
bloba51ca93824472e6f8e99d91ffdfcefb25cbd4833
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
13 set(wallpaper_SRCS
14     ../common/wallpaperpreview.cpp
17 kde4_add_ui_files (
18     appletbrowserdialog_SRCS
19     ../common/kcategorizeditemsviewbase.ui
22 set(plasma-overlay_SRCS
23     backgrounddialog.cpp
24     main.cpp
25     plasmaapp.cpp
26     savercorona.cpp
27     saverview.cpp
28     ${appletbrowserdialog_SRCS}
29     ${wallpaper_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}
41                                      ${X11_X11_LIB})
42 if(X11_Xrender_FOUND)
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})