3 set(kcmphonon_SRCS main.cpp devicepreference.cpp backendselection.cpp globalconfig.cpp)
4 kde4_add_ui_files(kcmphonon_SRCS devicepreference.ui backendselection.ui)
6 kde4_add_plugin(kcm_phonon ${kcmphonon_SRCS})
7 target_link_libraries(kcm_phonon ${KDE4_PHONON_LIBS} ${KDE4_KUTILS_LIBS}
10 install(TARGETS kcm_phonon DESTINATION ${PLUGIN_INSTALL_DIR} )
12 ########### install files ###############
13 install( FILES kcm_phonon.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
14 install(FILES listview-background.png DESTINATION ${DATA_INSTALL_DIR}/kcm_phonon)
15 install(FILES devicepreference.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update)
17 ########### update helper ###############
18 kde4_add_executable(phonon_devicepreference_update devicepreference_update.cpp)
19 target_link_libraries(phonon_devicepreference_update ${KDE4_KDECORE_LIBS})
20 install(TARGETS phonon_devicepreference_update DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin)
22 kde4_add_executable(phonon_deviceuids_update deviceuids_update.cpp)
23 target_link_libraries(phonon_deviceuids_update ${KDE4_KDECORE_LIBS})
24 install(TARGETS phonon_deviceuids_update DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin)