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
KIdentityManagement
Commits
f6c899fe
Commit
f6c899fe
authored
Aug 14, 2022
by
Laurent Montel
Browse files
Show headers in qtc6
parent
95be9356
Pipeline
#217824
passed with stage
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/CMakeLists.txt
View file @
f6c899fe
...
...
@@ -3,8 +3,18 @@
include
(
ECMAddTests
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
Test
${
QT_REQUIRED_VERSION
}
CONFIG REQUIRED
)
ecm_add_tests
(
identitytest.cpp signaturetest.cpp NAME_PREFIX
"kpimidentity-"
LINK_LIBRARIES KF5IdentityManagementWidgets
KF5::PimTextEdit Qt
${
QT_MAJOR_VERSION
}
::Test KF5::ConfigCore KF5::TextWidgets KF5::XmlGui KF5::CoreAddons
)
macro
(
add_identity_test _source
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
ecm_add_test
(
${
_source
}
${
_name
}
.h
TEST_NAME
${
_name
}
NAME_PREFIX
"kpimidentity-"
LINK_LIBRARIES KF5IdentityManagementWidgets
KF5::PimTextEdit Qt
${
QT_MAJOR_VERSION
}
::Test KF5::ConfigCore KF5::TextWidgets KF5::XmlGui KF5::CoreAddons
)
endmacro
()
add_identity_test
(
identitytest.cpp
)
add_identity_test
(
signaturetest.cpp
)
target_compile_definitions
(
signaturetest PRIVATE
SIGNATURETEST_DATA_FILE=
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/signaturetest.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