aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2020-05-10 02:10:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-12 08:50:07 +0200
commitc2ab2494ef375bfc5d621b39badabeb9a0c86f6a (patch)
treedf1bbfc79ab9a368b4f1ec428c07acee4b7f874f /tests/CMakeLists.txt
parent90bbfb5136425ab59516c8dcaabefb54b6c56d2b (diff)
CMake: do not build test programs by default
The default target should only build libcurl and curl. Add a dedicated 'testdeps' target which will be used later when running tests. Note that unittests are currently broken in CMake and already excluded. Closes #5368
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a145b2b04..caba3c86a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -19,6 +19,7 @@
# KIND, either express or implied.
#
###########################################################################
+add_custom_target(testdeps)
add_subdirectory(data)
add_subdirectory(libtest)
add_subdirectory(server)