Fix Bug 358855 - message list column widths lost when program closed
[kdepim.git] / sieveeditor / CMakeLists.txt
blob790ed4a66c8133e343edbd37af8c839ef5d4c9e5
1 project( sieveeditor )
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})
11 set(sieveeditor_SRCS
12   ${sieveeditor_kcfg_SRCS}
13   main.cpp
14   sieveeditormainwindow.cpp
15   serversievesettingsdialog.cpp
16   serversievesettings.cpp
17   sieveeditormainwidget.cpp
18   sieveeditorscriptwidget.cpp
19   sieveeditorconfiguredialog.cpp
20   sieveeditorscriptmanagerwidget.cpp
21   sieveeditorutil.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
45                        KF5::MailTransport
46                        KF5::Bookmarks
47                        KF5::DBusAddons 
48                        KF5::I18n
49                        KF5::IconThemes
50                        KF5::XmlGui
51                        KF5::PimCommon
52                        KF5::KSieveUi
53                        KF5::KManageSieve
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)
62 if (BUILD_TESTING)
63     add_subdirectory(autotests)
64 endif()