1 project( storageservicemanager )
3 add_definitions( -DQT_NO_CAST_FROM_ASCII )
4 add_definitions( -DQT_NO_CAST_TO_ASCII )
6 set( storageservicemanager_kcfg_SRCS settings/storageservicemanagerglobalconfig.kcfgc )
8 kconfig_add_kcfg_files(storageservicemanager_kcfg_SRCS ${storageservicemanager_kcfg_SRCS})
10 set(storageservicemanager_SRCS
11 ${storageservicemanager_kcfg_SRCS}
13 storageservicemanagermainwindow.cpp
14 storageservicepage.cpp
15 storageservicetabwidget.cpp
16 storageserviceconfiguredialog.cpp
17 storageservicemanagersettingsjob.cpp
18 storageservicetreewidget.cpp
19 storageservicewarning.cpp
20 storageservicelogdialog.cpp
21 storageserviceaccountinfodialog.cpp
22 storageservicenavigationbuttons.cpp
23 storageservicemanagerutil.cpp
24 storageservicemanagermainwidget.cpp
25 storageserviceconfigurestoragewidget.cpp
27 qt5_add_resources(storageservicemanager_SRCS storageservicemanager.qrc)
29 ecm_qt_declare_logging_category(storageservicemanager_SRCS HEADER storageservicemanager_debug.h IDENTIFIER STORAGESERVICEMANAGER_LOG CATEGORY_NAME log_storageservicemanager)
31 add_executable(storageservicemanager ${storageservicemanager_SRCS} )
32 target_link_libraries(storageservicemanager
42 install(TARGETS storageservicemanager ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
44 install(PROGRAMS org.kde.storageservicemanager.desktop DESTINATION ${KDE_INSTALL_APPDIR})
46 install(FILES data/storageservicemanager.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR})
48 add_subdirectory(kconf_update)
51 add_subdirectory(autotests)