1 #######################################################################################
4 if(STRIGI_STRIGIQTDBUSCLIENT_LIBRARY)
6 endif(STRIGI_STRIGIQTDBUSCLIENT_LIBRARY)
8 configure_file(core/config-kickoff-applets.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kickoff-applets.h)
12 core/kickoffabstractmodel.cpp
13 core/kickoffproxymodel.cpp
14 core/applicationmodel.cpp
15 core/favoritesmodel.cpp
18 core/recentapplications.cpp
19 core/recentlyusedmodel.cpp
22 core/urlitemlauncher.cpp
26 qt4_add_dbus_adaptor(libkickoff_SRCS core/org.kde.kickoff.xml core/applicationmodel.h Kickoff::ApplicationModel)
27 qt4_add_dbus_adaptor(libkickoff_SRCS core/org.kde.kickoff.recent.xml core/recentlyusedmodel.h Kickoff::RecentlyUsedModel)
29 set(screensaver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.freedesktop.ScreenSaver.xml)
30 QT4_ADD_DBUS_INTERFACE(libkickoff_SRCS ${screensaver_xml} screensaver_interface)
31 set(krunner_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.kde.krunner.App.xml)
32 QT4_ADD_DBUS_INTERFACE(libkickoff_SRCS ${krunner_xml} krunner_interface)
33 set(ksmserver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
34 QT4_ADD_DBUS_INTERFACE(libkickoff_SRCS ${ksmserver_xml} ksmserver_interface)
37 set(Kickoff_LIBS ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_SOLID_LIBS} solidcontrol kworkspace)
39 set(Kickoff_LIBS ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_SOLID_LIBS} solidcontrol)
42 set ( Kickoff_LIBS ${Kickoff_LIBS} ${STRIGI_STRIGIQTDBUSCLIENT_LIBRARY} )
43 endif(HAVE_STRIGIDBUS)
45 include_directories( ${STRIGI_INCLUDE_DIR} )
47 kde4_add_library(libkickoff SHARED ${libkickoff_SRCS})
48 target_link_libraries(libkickoff ${KDE4_PLASMA_LIBS} solidcontrol ${Kickoff_LIBS})
49 install(TARGETS libkickoff DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
51 #######################################################################################
52 # Kickoff Plasma Applet
56 ui/contextmenufactory.cpp
66 kde4_add_plugin(plasma_applet_launcher ${Applet_SRCS})
67 target_link_libraries(plasma_applet_launcher ${KDE4_PLASMA_LIBS} solidcontrol ${Kickoff_LIBS} libkickoff)
68 install(TARGETS plasma_applet_launcher DESTINATION ${PLUGIN_INSTALL_DIR})
69 install(FILES applet/plasma-applet-launcher.desktop DESTINATION ${SERVICES_INSTALL_DIR})
71 #######################################################################################
72 # Kickoff Simple KMenu Plasma Applet
74 set(SimpleApplet_SRCS simpleapplet/menuview.cpp simpleapplet/simpleapplet.cpp)
75 kde4_add_plugin(plasma_applet_simplelauncher ${SimpleApplet_SRCS})
76 target_link_libraries(plasma_applet_simplelauncher ${KDE4_PLASMA_LIBS} solidcontrol ${Kickoff_LIBS} libkickoff)
77 install(TARGETS plasma_applet_simplelauncher DESTINATION ${PLUGIN_INSTALL_DIR})
78 install(FILES simpleapplet/plasma-applet-simplelauncher.desktop DESTINATION ${SERVICES_INSTALL_DIR})
80 # Kickoff Standalone Test Application
81 #IF (CMAKE_BUILD_TYPE MATCHES Debug)
82 # set(Application_SRCS ${Kickoff_SRCS} main.cpp)
83 # kde4_add_executable(kickoff ${Application_SRCS})
84 # target_link_libraries(kickoff ${KDE4_PLASMA_LIBS} ${Kickoff_LIBS})
85 # install(TARGETS kickoff ${INSTALL_TARGETS_DEFAULT_ARGS})
86 #ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)