Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
Mail-related libraries
Commits
b4771b69
Commit
b4771b69
authored
Aug 16, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to run test without install it
parent
f31d0cbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
CMakeLists.txt
CMakeLists.txt
+9
-1
kaddressbookimportexport/autotests/CMakeLists.txt
kaddressbookimportexport/autotests/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
b4771b69
...
...
@@ -3,7 +3,15 @@ set(PIM_VERSION "5.6.40")
project
(
kdepim-apps-lib VERSION
${
PIM_VERSION
}
)
set
(
KF5_VERSION
"5.37.0"
)
find_package
(
ECM
${
KF5_VERSION
}
CONFIG REQUIRED
)
option
(
RUN_UNINSTALL
"test run uninstalled apps (experimental)"
FALSE
)
set
(
ECM_VERSION
${
KF5_VERSION
}
)
# ECM setup
if
(
RUN_UNINSTALL
)
set
(
ECM_VERSION
"5.38.0"
)
endif
()
find_package
(
ECM
${
ECM_VERSION
}
CONFIG REQUIRED
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
set
(
LIBRARY_NAMELINK
)
include
(
GenerateExportHeader
)
...
...
kaddressbookimportexport/autotests/CMakeLists.txt
View file @
b4771b69
add_executable
(
contactfieldstest contactfieldstest.cpp
)
add_test
(
contactfieldstest contactfieldstest
)
add_test
(
NAME
contactfieldstest
COMMAND
contactfieldstest
)
ecm_mark_as_test
(
kaddrebook-contactfieldstest
)
target_link_libraries
(
contactfieldstest KF5::Contacts Qt5::Test Qt5::Gui KF5::I18n KF5::KaddressbookImportExport
)
Write
Preview
Markdown
is supported
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