3 add_subdirectory(backend)
5 ########### kwalletd ###############
7 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/backend)
9 set(kwalletd_KDEINIT_SRCS
11 kbetterthankdialog.cpp
16 kwalletsessionstore.cpp
20 kde4_add_ui_files(kwalletd_KDEINIT_SRCS
21 kbetterthankdialogbase.ui
22 kwalletwizardpageexplanation.ui
23 kwalletwizardpageintro.ui
24 kwalletwizardpageoptions.ui
25 kwalletwizardpagepassword.ui
28 MESSAGE( "KDE4_DBUS_INTERFACES_DIR = ${KDE4_DBUS_INTERFACES_DIR}" )
30 find_file(kwallet_xml org.kde.KWallet.xml HINTS ${KDE4_DBUS_INTERFACES_DIR} )
32 qt4_add_dbus_adaptor( kwalletd_KDEINIT_SRCS ${kwallet_xml} kwalletd.h KWalletD )
34 kde4_add_kdeinit_executable( kwalletd ${kwalletd_KDEINIT_SRCS} )
36 # uses kio for KDirWatch
37 target_link_libraries(kdeinit_kwalletd ${KDE4_KIO_LIBS} kwalletbackend )
38 install(TARGETS kdeinit_kwalletd ${INSTALL_TARGETS_DEFAULT_ARGS})
40 target_link_libraries(kwalletd kdeinit_kwalletd)
41 install(TARGETS kwalletd ${INSTALL_TARGETS_DEFAULT_ARGS} )
43 ########### install files ###############
45 install( FILES kwalletd.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
47 add_subdirectory(tests)