]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: exclude tests/http/clients builds by default
authorViktor Szakats <commit@vsz.me>
Fri, 9 Aug 2024 17:40:04 +0000 (19:40 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 10 Aug 2024 08:02:48 +0000 (10:02 +0200)
To limit building them with the testdeps target, like it's done with
the rest of test programs.

Follow-up to 232302f88a152a1d1722da9f69c383a766528918 #14382
Closes #14477

tests/http/clients/CMakeLists.txt

index 1f0817f5c4382ba64c1f03aef3b253845262bf95..974c3404537da7ecf7243080566ba9a142d9d992 100644 (file)
@@ -28,7 +28,7 @@ include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
 
 foreach(_test_name IN LISTS check_PROGRAMS)
   set(_test_target "curl-test-client-${_test_name}")
-  add_executable(${_test_target} "${_test_name}.c")
+  add_executable(${_test_target} EXCLUDE_FROM_ALL "${_test_name}.c")
   add_dependencies(testdeps ${_test_target})
   target_include_directories(${_test_target} PRIVATE
     "${CURL_BINARY_DIR}/lib"  # for "curl_config.h"