Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
b4541177
Commit
b4541177
authored
Oct 27, 2021
by
Laurent Montel
😁
Browse files
Clean up lib + add macro for autotests
parent
9416095e
Pipeline
#91729
passed with stage
in 24 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/mailmergeagent/CMakeLists.txt
View file @
b4541177
...
...
@@ -37,10 +37,9 @@ target_link_libraries(mailmergeagent
KF5::AkonadiCore
KF5::AkonadiMime
KF5::MailTransportAkonadi
KF5::Mime
#
KF5::Mime
KF5::MessageComposer
KF5::MessageCore
KF5::PimCommon
KF5::DBusAddons
KF5::WindowSystem
KF5::XmlGui
...
...
agents/mailmergeagent/autotests/CMakeLists.txt
View file @
b4541177
# Convenience macro to add unit tests.
macro
(
mailmerge_agent _source
)
set
(
_test
${
_source
}
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
ecm_add_test
(
${
_test
}
TEST_NAME
${
_name
}
NAME_PREFIX
"mailmerge-"
LINK_LIBRARIES mailmergeagent Qt::Test KF5::AkonadiCore Qt::Widgets KF5::I18n KF5::XmlGui KF5::Service
)
endmacro
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment