Commit 66a0f1aa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename private lib

parent a3c59004
......@@ -17,7 +17,7 @@ ecm_qt_declare_logging_category(pimsettingexporterconsole_SRCS HEADER pimsetting
add_executable(pimsettingexporterconsole ${pimsettingexporterconsole_SRCS})
target_link_libraries(pimsettingexporterconsole KF5::ConfigCore KF5::CoreAddons KF5::I18n KF5::Archive KF5::AkonadiCore KF5::MailCommon
pimsettingexporterprivate
pimdataexporterprivate
)
if (BUILD_TESTING)
add_subdirectory(autotests)
......
......@@ -3,50 +3,50 @@ include_directories(
${pim-data-exporter_BINARY_DIR}/core/
)
set(pimsettingexporter_calendar_SRCS
set(pimdataexporter_calendar_SRCS
calendar/exportcalendarjob.cpp
calendar/importcalendarjob.cpp
)
set(pimsettingexporter_addressbook_SRCS
set(pimdataexporter_addressbook_SRCS
addressbook/exportaddressbookjob.cpp
addressbook/importaddressbookjob.cpp
)
set(pimsettingexporter_mail_SRCS
set(pimdataexporter_mail_SRCS
mail/exportmailjob.cpp
mail/importmailjob.cpp
)
set(pimsettingexporter_alarm_SRCS
set(pimdataexporter_alarm_SRCS
alarm/exportalarmjob.cpp
alarm/importalarmjob.cpp
)
set(pimsettingexporter_notes_SRCS
set(pimdataexporter_notes_SRCS
notes/exportnotesjob.cpp
notes/importnotesjob.cpp
)
set(pimsettingexporter_xml_SRCS
set(pimdataexporter_xml_SRCS
xml/templateselection.cpp
)
set(pimsettingexporter_akregator_SRCS
set(pimdataexporter_akregator_SRCS
akregator/exportakregatorjob.cpp
akregator/importakregatorjob.cpp
)
set(pimsettingexporter_LIB_SRCS
${pimsettingexporter_xml_SRCS}
${pimsettingexporter_notes_SRCS}
${pimsettingexporter_alarm_SRCS}
${pimsettingexporter_mail_SRCS}
${pimsettingexporter_calendar_SRCS}
${pimsettingexporter_addressbook_SRCS}
${pimsettingexporter_jot_SRCS}
${pimsettingexporter_akregator_SRCS}
set(pimdataexporter_LIB_SRCS
${pimdataexporter_xml_SRCS}
${pimdataexporter_notes_SRCS}
${pimdataexporter_alarm_SRCS}
${pimdataexporter_mail_SRCS}
${pimdataexporter_calendar_SRCS}
${pimdataexporter_addressbook_SRCS}
${pimdataexporter_jot_SRCS}
${pimdataexporter_akregator_SRCS}
pimsettingexportcore_debug.cpp
abstractimportexportjob.cpp
pimdataexporterkernel.cpp
......@@ -60,14 +60,14 @@ set(pimsettingexporter_LIB_SRCS
pimsettingimportdatainfofile.cpp
)
ecm_qt_declare_logging_category(pimsettingexporter_LIB_SRCS HEADER pimsettingexportcore_debug.h IDENTIFIER PIMSETTINGEXPORTERCORE_LOG CATEGORY_NAME org.kde.pim.pimsettingexportercore)
ecm_qt_declare_logging_category(pimdataexporter_LIB_SRCS HEADER pimsettingexportcore_debug.h IDENTIFIER PIMSETTINGEXPORTERCORE_LOG CATEGORY_NAME org.kde.pim.pimdataexportercore)
add_library(pimsettingexporterprivate ${pimsettingexporter_LIB_SRCS})
generate_export_header(pimsettingexporterprivate BASE_NAME pimsettingexporter)
add_library(pimdataexporterprivate ${pimdataexporter_LIB_SRCS})
generate_export_header(pimdataexporterprivate BASE_NAME pimdataexporter)
target_link_libraries(pimsettingexporterprivate
target_link_libraries(pimdataexporterprivate
PRIVATE
KF5::AkonadiCore
KF5::Mime
......@@ -80,7 +80,7 @@ target_link_libraries(pimsettingexporterprivate
KF5::AkonadiNotes
)
set_target_properties(pimsettingexporterprivate PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
set_target_properties(pimdataexporterprivate PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
install(TARGETS pimsettingexporterprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
install(TARGETS pimdataexporterprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
......@@ -56,7 +56,7 @@ target_link_libraries(pimsettingexporter
KF5::MailCommon
KF5::PimCommon
KF5::Libkdepim
pimsettingexporterprivate
pimdataexporterprivate
KF5::Archive
KF5::ItemViews
KF5::KIOFileWidgets
......
......@@ -24,10 +24,10 @@ target_link_libraries(pimsettingexporterconfigurewidgettest Qt5::Test Qt5::Widge
add_executable( selectiontypetreewidgettest selectiontypetreewidgettest.cpp ../widgets/selectiontypetreewidget.cpp ${pimsettingexporter_kcfg_SRCS})
add_test(NAME selectiontypetreewidgettest COMMAND selectiontypetreewidgettest)
ecm_mark_as_test(selectiontypetreewidgettest)
target_link_libraries(selectiontypetreewidgettest Qt5::Test Qt5::Widgets KF5::I18n KF5::ItemViews pimsettingexporterprivate KF5::ConfigCore KF5::ConfigGui KF5::PimCommonAkonadi)
target_link_libraries(selectiontypetreewidgettest Qt5::Test Qt5::Widgets KF5::I18n KF5::ItemViews pimdataexporterprivate KF5::ConfigCore KF5::ConfigGui KF5::PimCommonAkonadi)
add_executable( selectiontypedialogtest selectiontypedialogtest.cpp ../widgets/selectiontypetreewidget.cpp ../dialog/selectiontypedialog.cpp ${pimsettingexporter_kcfg_SRCS})
add_test(NAME selectiontypedialogtest COMMAND selectiontypedialogtest)
ecm_mark_as_test(selectiontypedialogtest)
target_link_libraries(selectiontypedialogtest Qt5::Test Qt5::Widgets KF5::I18n KF5::ItemViews pimsettingexporterprivate KF5::ConfigCore KF5::ConfigGui KF5::PimCommonAkonadi)
target_link_libraries(selectiontypedialogtest Qt5::Test Qt5::Widgets KF5::I18n KF5::ItemViews pimdataexporterprivate KF5::ConfigCore KF5::ConfigGui KF5::PimCommonAkonadi)
......@@ -11,7 +11,7 @@ target_link_libraries(selectiontreewidget_gui
KF5::MailCommon
KF5::PimCommon
KF5::Archive
pimsettingexporterprivate
pimdataexporterprivate
KF5::ItemViews
KF5::I18n
)
......@@ -24,7 +24,7 @@ target_link_libraries(showarchivestructuredialog_gui
KF5::MailCommon
KF5::PimCommon
KF5::Archive
pimsettingexporterprivate
pimdataexporterprivate
KF5::ItemViews
KF5::I18n
)
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