Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
libgravatar
Commits
9cbfbfe2
Commit
9cbfbfe2
authored
Aug 12, 2022
by
Laurent Montel
Browse files
Show headers in qtc6
parent
ddf44e2a
Pipeline
#217084
passed with stage
in 10 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/CMakeLists.txt
View file @
9cbfbfe2
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause
macro
(
add_gravatar_unittest _source
)
ecm_add_test
(
${
_source
}
NAME_PREFIX
"gravatar-"
LINK_LIBRARIES KF5::PimCommon Qt
${
QT_MAJOR_VERSION
}
::Test KF5::Gravatar KF5::TextWidgets
)
set
(
_test
${
_source
}
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
add_executable
(
${
_name
}
${
_test
}
${
_name
}
.h
)
add_test
(
NAME
${
_name
}
COMMAND
${
_name
}
)
ecm_mark_as_test
(
${
_name
}
)
target_link_libraries
(
${
_name
}
KF5::PimCommon Qt::Test KF5::Gravatar KF5::TextWidgets
)
endmacro
()
add_gravatar_unittest
(
gravatarcachetest.cpp
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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