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 Account Wizard
Commits
f3aa0ac0
Commit
f3aa0ac0
authored
Aug 16, 2017
by
Laurent Montel
😁
Browse files
Make run without install them
parent
67b91325
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f3aa0ac0
...
...
@@ -4,9 +4,16 @@ cmake_minimum_required(VERSION 3.1)
set
(
LIBRARY_NAMELINK LIBRARY NAMELINK_SKIP
)
# we need some parts of the ECM CMake helpers
set
(
KF5_VERSION
"5.37.0"
)
find_package
(
ECM
${
KF5_VERSION
}
REQUIRED NO_MODULE
)
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
}
)
include
(
ECMOptionalAddSubdirectory
)
include
(
ECMInstallIcons
)
...
...
src/autotests/CMakeLists.txt
View file @
f3aa0ac0
...
...
@@ -3,7 +3,7 @@ add_definitions (-DTEST_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
add_definitions
(
-DCURRENT_SOURCE_DIR=
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
add_executable
(
ldaptest ldaptest.cpp ../ldap.cpp ../setupobject.cpp
)
add_test
(
ldaptest ldaptest
)
add_test
(
NAME
ldaptest
COMMAND
ldaptest
)
ecm_mark_as_test
(
ldaptest
)
target_link_libraries
(
ldaptest
...
...
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