SVN_SILENT made messages (after extraction)
[kdepim.git] / importwizard / CMakeLists.txt
blobe4d8e5c040ee7e2f4fe4089566e6d8d428daea45
1 project(importwizard)
4 include_directories(
5     ${importwizard_SOURCE_DIR}/autodetect/
9 add_subdirectory(icons)
10 add_subdirectory(kconf_update)
11 set(importwizard_SRCS
12 importwizardkernel.cpp
13 importwizard.cpp
14 main.cpp
17 set(importwizard_manual_SRCS
18 manual/manualimportmailpage.cpp
19 manual/importwizardfilterinfogui.cpp
20 manual/manualselectfilterpage.cpp
23 set(importwizard_autodetect_SRCS
24 autodetect/widgets/selectprogramlistwidget.cpp
25 autodetect/importwizardutil.cpp
26 autodetect/selectprogrampage.cpp
27 autodetect/importaddressbookpage.cpp
28 autodetect/importfilterpage.cpp
29 autodetect/importmailpage.cpp
30 autodetect/importsettingpage.cpp
31 autodetect/importfinishpage.cpp
32 autodetect/selectcomponentpage.cpp
33 autodetect/importfilterinfogui.cpp
34 autodetect/importcalendarpage.cpp
35 autodetect/abstractimporter.cpp
36 autodetect/abstractsettings.cpp
37 autodetect/abstractaddressbook.cpp
38 autodetect/abstractcalendar.cpp
39 autodetect/abstractbase.cpp
40 autodetect/thunderbird/thunderbirdimportdata.cpp
41 autodetect/thunderbird/thunderbirdsettings.cpp
42 autodetect/thunderbird/thunderbirdaddressbook.cpp
43 autodetect/thunderbird/addressbook/MorkParser.cpp
44 autodetect/sylpheed/sylpheedimportdata.cpp
45 autodetect/sylpheed/sylpheedsettings.cpp
46 autodetect/sylpheed/sylpheedaddressbook.cpp
47 autodetect/sylpheed/sylpheedsettingsutils.cpp
48 autodetect/evolutionv3/evolutionv3importdata.cpp
49 autodetect/evolutionv3/evolutionsettings.cpp
50 autodetect/evolutionv3/evolutioncalendar.cpp
51 autodetect/evolutionv3/evolutionaddressbook.cpp
52 autodetect/evolutionv3/evolutionutil.cpp
53 autodetect/evolutionv2/evolutionv2importdata.cpp
54 autodetect/evolutionv1/evolutionv1importdata.cpp
55 autodetect/opera/operaimportdata.cpp
56 autodetect/opera/operaaddressbook.cpp
57 autodetect/opera/operasettings.cpp
58 autodetect/oe/oeimportdata.cpp
59 autodetect/mailapp/mailappimportdata.cpp
60 autodetect/pmail/pmailimportdata.cpp
61 autodetect/pmail/pmailsettings.cpp
62 autodetect/thebat/thebatimportdata.cpp
63 autodetect/balsa/balsaimportdata.cpp
64 autodetect/balsa/balsasettings.cpp
65 autodetect/balsa/balsaaddressbook.cpp
66 autodetect/claws-mail/clawsmailimportdata.cpp
67 autodetect/claws-mail/clawsmailsettings.cpp
68 autodetect/claws-mail/clawsmailaddressbook.cpp
69 autodetect/trojita/trojitasettings.cpp
70 autodetect/trojita/trojitaimportdata.cpp
71 autodetect/trojita/trojitaaddressbook.cpp
72 autodetect/icedove/icedoveimportdata.cpp
76 ki18n_wrap_ui(importwizard_SRCS 
77                   ui/autodetect/selectprogrampage.ui
78                   ui/autodetect/importaddressbookpage.ui
79                   ui/autodetect/importfilterpage.ui
80                   ui/autodetect/importmailpage.ui
81                   ui/autodetect/importsettingpage.ui
82                   ui/autodetect/selectcomponentpage.ui 
83                   ui/autodetect/importfinishpage.ui 
84                   ui/autodetect/importcalendarpage.ui
85                   ui/manual/manualimportmailpage.ui  
86                   ui/manual/manualselectfilterpage.ui
89 ecm_qt_declare_logging_category(importwizard_SRCS HEADER importwizard_debug.h IDENTIFIER IMPORTWIZARD_LOG CATEGORY_NAME log_importwizard)
91 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kontact-import-wizard.png")
92 ecm_add_app_icon(importwizard_SRCS ICONS ${ICONS_SRCS})
94 add_executable(importwizard ${importwizard_SRCS} ${importwizard_autodetect_SRCS} ${importwizard_manual_SRCS})
96 target_link_libraries(importwizard
97   KF5::AkonadiCore
98   KF5::MailTransport
99   KF5::DBusAddons
100   KF5::XmlGui
101   KF5::MailImporter
102   KF5::PimCommon
103   KF5::MailCommon
104   KF5::Libkdepim
105   KF5::MessageComposer
106   KF5::MessageViewer
107   KF5::Completion
108   KF5::I18n
111 install(TARGETS importwizard  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
112 install(PROGRAMS data/org.kde.importwizard.desktop DESTINATION ${KDE_INSTALL_APPDIR})
114 add_subdirectory(manual/pics)