curl/tests/server
Viktor Szakats 58b9c6134b
cmake: omit linking duplicate/unnecessary libs to tests & examples
Before this patch we explicitly linked the full list of libcurl
dependency libs to tests and examples via `CURL_LIBS`. This was
redundant, because test and example code do not directly use these
dependency libs and for indirect use they are implicitly passed
via libcurl as needed. After this patch, tests and examples only link
explicitly to system libs (e.g. socket).

Also bringing it closer to how `./configure` does this.

Borrow the variable name `CURL_NETWORK_AND_TIME_LIBS` from
`./configure`. However, its content is not exactly the same. With cmake
it also holds `pthread`, but doesn't hold AmiSSL.

Closes #17696
2025-07-28 11:28:15 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt cmake: omit linking duplicate/unnecessary libs to tests & examples 2025-07-28 11:28:15 +02:00
dnsd.c tidy-up: move literal to the right side of comparisons 2025-07-27 22:35:17 +02:00
first.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
first.h tests/server: de-dupe/merge three sockdaemon() clones into one 2025-06-23 17:02:43 +02:00
getpart.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
Makefile.am tests: fix BUNDLE variable references in Makefile.am 2025-06-26 10:55:47 +02:00
Makefile.inc build: split .c and .h file lists in tests 2025-06-26 10:20:41 +02:00
memptr.c windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
mqttd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
resolve.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
rtspd.c tidy-up: move literal to the right side of comparisons 2025-07-27 22:35:17 +02:00
sockfilt.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
socksd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
sws.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
tftpd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
util.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00