Commit fd01dd90 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: more cmake target centric

parent 9bf1f19c
Pipeline #67138 passed with stage
in 8 minutes and 47 seconds
......@@ -4,12 +4,11 @@ include_directories(
)
########### next target ###############
set(kontact_akregator_PART_SRCS akregator_plugin.cpp)
add_library(kontact_akregatorplugin MODULE)
qt_add_dbus_interfaces(kontact_akregator_PART_SRCS ${akregator_SOURCE_DIR}/src/org.kde.akregator.part.xml)
target_sources(kontact_akregatorplugin PRIVATE akregator_plugin.cpp ${kontact_akregator_PART_SRCS})
add_library(kontact_akregatorplugin MODULE ${kontact_akregator_PART_SRCS})
target_link_libraries(kontact_akregatorplugin KF5::I18n KF5::KontactInterface)
......
......@@ -7,7 +7,10 @@ include_directories(
${akregator_BINARY_DIR}
)
set(libmetakitlocal_SRCS
########### next target ###############
add_library(akregator_mk4storage_plugin MODULE)
target_sources(akregator_mk4storage_plugin PRIVATE
metakit/src/column.cpp
metakit/src/custom.cpp
metakit/src/derived.cpp
......@@ -24,19 +27,12 @@ set(libmetakitlocal_SRCS
metakit/src/univ.cpp
metakit/src/view.cpp
metakit/src/viewx.cpp
)
########### next target ###############
set(akregator_mk4storage_plugin_PART_SRCS
${libmetakitlocal_SRCS}
feedstoragemk4impl.cpp
storagemk4impl.cpp
storagefactorymk4impl.cpp
mk4plugin.cpp
)
add_library(akregator_mk4storage_plugin MODULE ${akregator_mk4storage_plugin_PART_SRCS})
target_link_libraries(akregator_mk4storage_plugin
KF5::Syndication
......
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