Commit 80c52928 authored by Laurent Montel's avatar Laurent Montel 😁

Move in src directory (for splitting it)

parent dde131ec
project(importwizard)
include_directories(
${importwizard_SOURCE_DIR}/autodetect/
)
add_subdirectory(icons)
add_subdirectory(kconf_update)
set(importwizard_SRCS
importwizardkernel.cpp
importwizard.cpp
main.cpp
)
set(importwizard_manual_SRCS
manual/manualimportmailpage.cpp
manual/importwizardfilterinfogui.cpp
manual/manualselectfilterpage.cpp
)
set(importwizard_autodetect_SRCS
autodetect/widgets/selectprogramlistwidget.cpp
autodetect/importwizardutil.cpp
autodetect/selectprogrampage.cpp
autodetect/importaddressbookpage.cpp
autodetect/importfilterpage.cpp
autodetect/importmailpage.cpp
autodetect/importsettingpage.cpp
autodetect/importfinishpage.cpp
autodetect/selectcomponentpage.cpp
autodetect/importfilterinfogui.cpp
autodetect/importcalendarpage.cpp
autodetect/abstractimporter.cpp
autodetect/abstractsettings.cpp
autodetect/abstractaddressbook.cpp
autodetect/abstractcalendar.cpp
autodetect/abstractbase.cpp
autodetect/thunderbird/thunderbirdimportdata.cpp
autodetect/thunderbird/thunderbirdsettings.cpp
autodetect/thunderbird/thunderbirdaddressbook.cpp
autodetect/thunderbird/addressbook/MorkParser.cpp
autodetect/sylpheed/sylpheedimportdata.cpp
autodetect/sylpheed/sylpheedsettings.cpp
autodetect/sylpheed/sylpheedaddressbook.cpp
autodetect/sylpheed/sylpheedsettingsutils.cpp
autodetect/evolutionv3/evolutionv3importdata.cpp
autodetect/evolutionv3/evolutionsettings.cpp
autodetect/evolutionv3/evolutioncalendar.cpp
autodetect/evolutionv3/evolutionaddressbook.cpp
autodetect/evolutionv3/evolutionutil.cpp
autodetect/evolutionv2/evolutionv2importdata.cpp
autodetect/evolutionv1/evolutionv1importdata.cpp
autodetect/opera/operaimportdata.cpp
autodetect/opera/operaaddressbook.cpp
autodetect/opera/operasettings.cpp
autodetect/oe/oeimportdata.cpp
autodetect/mailapp/mailappimportdata.cpp
autodetect/pmail/pmailimportdata.cpp
autodetect/pmail/pmailsettings.cpp
autodetect/thebat/thebatimportdata.cpp
autodetect/balsa/balsaimportdata.cpp
autodetect/balsa/balsasettings.cpp
autodetect/balsa/balsaaddressbook.cpp
autodetect/claws-mail/clawsmailimportdata.cpp
autodetect/claws-mail/clawsmailsettings.cpp
autodetect/claws-mail/clawsmailaddressbook.cpp
autodetect/trojita/trojitasettings.cpp
autodetect/trojita/trojitaimportdata.cpp
autodetect/trojita/trojitaaddressbook.cpp
autodetect/icedove/icedoveimportdata.cpp
)
ki18n_wrap_ui(importwizard_SRCS
ui/autodetect/selectprogrampage.ui
ui/autodetect/importaddressbookpage.ui
ui/autodetect/importfilterpage.ui
ui/autodetect/importmailpage.ui
ui/autodetect/importsettingpage.ui
ui/autodetect/selectcomponentpage.ui
ui/autodetect/importfinishpage.ui
ui/autodetect/importcalendarpage.ui
ui/manual/manualimportmailpage.ui
ui/manual/manualselectfilterpage.ui
)
ecm_qt_declare_logging_category(importwizard_SRCS HEADER importwizard_debug.h IDENTIFIER IMPORTWIZARD_LOG CATEGORY_NAME log_importwizard)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kontact-import-wizard.png")
ecm_add_app_icon(importwizard_SRCS ICONS ${ICONS_SRCS})
add_executable(importwizard ${importwizard_SRCS} ${importwizard_autodetect_SRCS} ${importwizard_manual_SRCS})
target_link_libraries(importwizard
KF5::AkonadiCore
KF5::MailTransport
KF5::DBusAddons
KF5::XmlGui
KF5::MailImporter
KF5::PimCommon
KF5::MailCommon
KF5::Libkdepim
KF5::MessageComposer
KF5::MessageViewer
KF5::Completion
KF5::I18n
)
install(TARGETS importwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS data/org.kde.importwizard.desktop DESTINATION ${KDE_INSTALL_APPDIR})
add_subdirectory(manual/pics)
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()
add_subdirectory(src)
project(importwizard)
include_directories(
${importwizard_SOURCE_DIR}/autodetect/
)
add_subdirectory(icons)
add_subdirectory(kconf_update)
set(importwizard_SRCS
importwizardkernel.cpp
importwizard.cpp
main.cpp
)
set(importwizard_manual_SRCS
manual/manualimportmailpage.cpp
manual/importwizardfilterinfogui.cpp
manual/manualselectfilterpage.cpp
)
set(importwizard_autodetect_SRCS
autodetect/widgets/selectprogramlistwidget.cpp
autodetect/importwizardutil.cpp
autodetect/selectprogrampage.cpp
autodetect/importaddressbookpage.cpp
autodetect/importfilterpage.cpp
autodetect/importmailpage.cpp
autodetect/importsettingpage.cpp
autodetect/importfinishpage.cpp
autodetect/selectcomponentpage.cpp
autodetect/importfilterinfogui.cpp
autodetect/importcalendarpage.cpp
autodetect/abstractimporter.cpp
autodetect/abstractsettings.cpp
autodetect/abstractaddressbook.cpp
autodetect/abstractcalendar.cpp
autodetect/abstractbase.cpp
autodetect/thunderbird/thunderbirdimportdata.cpp
autodetect/thunderbird/thunderbirdsettings.cpp
autodetect/thunderbird/thunderbirdaddressbook.cpp
autodetect/thunderbird/addressbook/MorkParser.cpp
autodetect/sylpheed/sylpheedimportdata.cpp
autodetect/sylpheed/sylpheedsettings.cpp
autodetect/sylpheed/sylpheedaddressbook.cpp
autodetect/sylpheed/sylpheedsettingsutils.cpp
autodetect/evolutionv3/evolutionv3importdata.cpp
autodetect/evolutionv3/evolutionsettings.cpp
autodetect/evolutionv3/evolutioncalendar.cpp
autodetect/evolutionv3/evolutionaddressbook.cpp
autodetect/evolutionv3/evolutionutil.cpp
autodetect/evolutionv2/evolutionv2importdata.cpp
autodetect/evolutionv1/evolutionv1importdata.cpp
autodetect/opera/operaimportdata.cpp
autodetect/opera/operaaddressbook.cpp
autodetect/opera/operasettings.cpp
autodetect/oe/oeimportdata.cpp
autodetect/mailapp/mailappimportdata.cpp
autodetect/pmail/pmailimportdata.cpp
autodetect/pmail/pmailsettings.cpp
autodetect/thebat/thebatimportdata.cpp
autodetect/balsa/balsaimportdata.cpp
autodetect/balsa/balsasettings.cpp
autodetect/balsa/balsaaddressbook.cpp
autodetect/claws-mail/clawsmailimportdata.cpp
autodetect/claws-mail/clawsmailsettings.cpp
autodetect/claws-mail/clawsmailaddressbook.cpp
autodetect/trojita/trojitasettings.cpp
autodetect/trojita/trojitaimportdata.cpp
autodetect/trojita/trojitaaddressbook.cpp
autodetect/icedove/icedoveimportdata.cpp
)
ki18n_wrap_ui(importwizard_SRCS
ui/autodetect/selectprogrampage.ui
ui/autodetect/importaddressbookpage.ui
ui/autodetect/importfilterpage.ui
ui/autodetect/importmailpage.ui
ui/autodetect/importsettingpage.ui
ui/autodetect/selectcomponentpage.ui
ui/autodetect/importfinishpage.ui
ui/autodetect/importcalendarpage.ui
ui/manual/manualimportmailpage.ui
ui/manual/manualselectfilterpage.ui
)
ecm_qt_declare_logging_category(importwizard_SRCS HEADER importwizard_debug.h IDENTIFIER IMPORTWIZARD_LOG CATEGORY_NAME log_importwizard)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kontact-import-wizard.png")
ecm_add_app_icon(importwizard_SRCS ICONS ${ICONS_SRCS})
add_executable(importwizard ${importwizard_SRCS} ${importwizard_autodetect_SRCS} ${importwizard_manual_SRCS})
target_link_libraries(importwizard
KF5::AkonadiCore
KF5::MailTransport
KF5::DBusAddons
KF5::XmlGui
KF5::MailImporter
KF5::PimCommon
KF5::MailCommon
KF5::Libkdepim
KF5::MessageComposer
KF5::MessageViewer
KF5::Completion
KF5::I18n
)
install(TARGETS importwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS data/org.kde.importwizard.desktop DESTINATION ${KDE_INSTALL_APPDIR})
add_subdirectory(manual/pics)
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment