- Adding config dialog
[choqok:choqok-playground.git] / plugins / imstatus / CMakeLists.txt
1
2 include_directories(
3 ${CHOQOK_INCLUDES}
4 )
5
6 ########### next target ###############
7
8 set( choqok_imstatus_PART_SRCS imqdbus.cpp
9 imstatus.cpp )
10
11 kde4_add_kcfg_files(choqok_imstatus_PART_SRCS imstatussettings.kcfgc )
12
13 kde4_add_plugin(choqok_imstatus ${choqok_imstatus_PART_SRCS})
14
15 target_link_libraries(choqok_imstatus ${KDE4_KIO_LIBS} choqok)
16
17 install(TARGETS choqok_imstatus DESTINATION ${PLUGIN_INSTALL_DIR})
18
19 ########### next target ###############
20
21 set( kcm_choqok_imstatus_PART_SRCS imqdbus.cpp
22 imstatusconfig.cpp )
23
24 kde4_add_ui_files(kcm_choqok_imstatus_PART_SRCS imstatusprefs.ui )
25
26 kde4_add_kcfg_files(kcm_choqok_imstatus_PART_SRCS imstatussettings.kcfgc )
27
28 kde4_add_plugin(kcm_choqok_imstatus ${kcm_choqok_imstatus_PART_SRCS})
29
30 target_link_libraries(kcm_choqok_imstatus ${KDE4_KDEUI_LIBS})
31
32 install(TARGETS kcm_choqok_imstatus DESTINATION ${PLUGIN_INSTALL_DIR})
33
34 ########### next target ###############
35
36 install( FILES imstatussettings.kcfg  DESTINATION ${KCFG_INSTALL_DIR})
37 install( FILES choqok_imstatus_config.desktop choqok_imstatus.desktop
38          DESTINATION ${SERVICES_INSTALL_DIR})