curl/tests/client
Viktor Szakats 2c90c3aac0
build: tidy up compiler definition for tests
- tests: merge cmake commands.
- tests: use `target_compile_definitions()`.
- tests/server: use generator expression for platform-specific macro.
- tests/unit: sync `Makefile.am` comment with cmake.
- tests/unit: merge two `AM_CPPFLAGS` lines to keep synced with cmake.
- tests: move macro definitions to `first.h` headers from build level.
  `CURL_NO_OLDIES`, `CURL_DISABLE_DEPRECATION`, `WITHOUT_LIBCURL`,
  `CURL_STATICLIB` (for servers).
  To share more logic.
  Pass `CURL_STATICLIB` in server on all platforms for simplicity.
  (On non-Windows, it's a no-op. It's already done like this with curlu
  and libcurltool.)

Also for lib:
- lib: merge commands.
- lib: sync macro order with tests (also in `Makefile.am`).

Closes #17768
2025-07-28 12:43:01 +02:00
..
.gitignore tests/http/clients: move to tests/client 2025-06-17 19:39:36 +02:00
CMakeLists.txt build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
first.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
first.h build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
h2_pausing.c tests: drop unused or redundant includes 2025-06-23 13:49:03 +02:00
h2_serverpush.c h2_serverpush: fix file handle leaks reported by clang-tidy 2025-06-22 21:42:53 +02:00
h2_upgrade_extreme.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
hx_download.c CURLOPT: drop redundant long casts 2025-07-28 10:32:13 +02:00
hx_upload.c CURLOPT: drop redundant long casts 2025-07-28 10:32:13 +02:00
Makefile.am build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
Makefile.inc build: split .c and .h file lists in tests 2025-06-26 10:20:41 +02:00
tls_session_reuse.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
upload_pausing.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
ws_data.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
ws_pingpong.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00