Compile webengine class
[kdepim.git] / storageservicemanager / CMakeLists.txt
blobc9f0863db202aff03738872debce400cb8f7a3f3
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}
12   main.cpp
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 
33                        KF5::NotifyConfig
34                        KF5::PimCommon
35                        KF5::Libkdepim
36                        KF5::DBusAddons
37                        KF5::XmlGui
38                        KF5::Notifications
39                        KF5::PimTextEdit
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)
50 if (BUILD_TESTING)
51    add_subdirectory(autotests)
52 endif()