3 add_definitions( -DQT_NO_CAST_FROM_ASCII )
4 add_definitions( -DQT_NO_CAST_TO_ASCII )
6 set( sieveeditor_kcfg_SRCS settings/sieveeditorglobalconfig.kcfgc )
8 kconfig_add_kcfg_files(sieveeditor_kcfg_SRCS ${sieveeditor_kcfg_SRCS})
12 ${sieveeditor_kcfg_SRCS}
14 sieveeditormainwindow.cpp
15 serversievesettingsdialog.cpp
16 serversievesettings.cpp
17 sieveeditormainwidget.cpp
18 sieveeditorscriptwidget.cpp
19 sieveeditorconfiguredialog.cpp
20 sieveeditorscriptmanagerwidget.cpp
22 serversievelistwidget.cpp
23 sieveeditorconfigureserverwidget.cpp
24 sieveeditormanagesievewidget.cpp
25 sieveeditorpagewidget.cpp
26 sieveserversettings.cpp
27 sieveeditortabwidget.cpp
28 sieveeditorcentralwidget.cpp
29 sieveeditorconfigureserverpage.cpp
30 sieveeditorbookmarks.cpp
31 sieveeditoremptytabwidgetlabel.cpp
34 ki18n_wrap_ui(sieveeditor_SRCS
35 ui/serversievesettings.ui
36 ui/sieveeditorconfigureserverwidget.ui
39 qt5_add_resources(sieveeditor_SRCS sieveeditor.qrc)
41 ecm_qt_declare_logging_category(sieveeditor_SRCS HEADER sieveeditor_debug.h IDENTIFIER SIEVEEDITOR_LOG CATEGORY_NAME log_sieveeditor)
43 add_executable(sieveeditor ${sieveeditor_SRCS} )
44 target_link_libraries(sieveeditor
56 install(TARGETS sieveeditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
58 install(PROGRAMS org.kde.sieveeditor.desktop DESTINATION ${KDE_INSTALL_APPDIR})
60 add_subdirectory(kconf_update)
63 add_subdirectory(autotests)