summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-10 05:59:54 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-10 05:59:54 (GMT)
commitada4c19fa0751a6dd40d8122738b9997b33f8ccc (patch)
tree9773fdbf72ab7fc8ce85f98441954f77bd931a9c
parent7d49e8fe594ebd98817da767379630e061f17170 (diff)
Add private shared lib
-rw-r--r--kaddressbook/importexportplugins/CMakeLists.txt2
-rw-r--r--kaddressbook/importexportplugins/shared/CMakeLists.txt17
2 files changed, 19 insertions, 0 deletions
diff --git a/kaddressbook/importexportplugins/CMakeLists.txt b/kaddressbook/importexportplugins/CMakeLists.txt
index f146e9c..60d039b 100644
--- a/kaddressbook/importexportplugins/CMakeLists.txt
+++ b/kaddressbook/importexportplugins/CMakeLists.txt
@@ -1,5 +1,7 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kaddressbook_importexportplugins\")
+add_subdirectory(shared)
+
add_subdirectory(vcards)
add_subdirectory(csv)
add_subdirectory(gmx)
diff --git a/kaddressbook/importexportplugins/shared/CMakeLists.txt b/kaddressbook/importexportplugins/shared/CMakeLists.txt
new file mode 100644
index 0000000..4fdf11a
--- /dev/null
+++ b/kaddressbook/importexportplugins/shared/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(kaddressbookimportexportprivatelib_SRCS
+)
+
+add_library(kaddressbookimportexportlibprivate ${kaddressbookimportexportprivatelib_SRCS})
+generate_export_header(kaddressbookimportexportlibprivate BASE_NAME kaddressbookimportexportlibprivate)
+
+
+target_link_libraries(kaddressbookimportexportlibprivate
+PRIVATE
+ KF5::I18n KF5::Contacts KF5::AkonadiContact KF5::Contacts KF5::AkonadiWidgets
+)
+
+set_target_properties(kaddressbookimportexportlibprivate
+ PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
+)
+
+install(TARGETS kaddressbookimportexportlibprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)