2 add_subdirectory( componentservices )
3 add_subdirectory( windowmanagers )
7 ########### next target ###############
9 set(kcm_componentchooser_SRCS
11 componentchooserbrowser.cpp
12 componentchooserfilemanager.cpp
13 componentchooseremail.cpp
14 kcm_componentchooser.cpp
18 set(kcm_componentchooser_SRCS ${kcm_componentchooser_SRCS}
19 componentchooserterminal.cpp ktimerdialog.cpp)
22 if(NOT APPLE AND NOT WIN32)
23 set(kcm_componentchooser_SRCS ${kcm_componentchooser_SRCS}
24 componentchooserwm.cpp )
25 endif(NOT APPLE AND NOT WIN32)
28 kde4_add_ui_files(kcm_componentchooser_SRCS
30 filemanagerconfig_ui.ui
31 emailclientconfig_ui.ui
32 componentchooser_ui.ui
37 kde4_add_ui_files(kcm_componentchooser_SRCS terminalemulatorconfig_ui.ui wmconfig_ui.ui)
40 kde4_add_plugin(kcm_componentchooser ${kcm_componentchooser_SRCS})
43 target_link_libraries(kcm_componentchooser ${KDE4_KIO_LIBS})
45 install(TARGETS kcm_componentchooser DESTINATION ${PLUGIN_INSTALL_DIR} )
48 ########### install files ###############
50 install( FILES componentchooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} )