curl/tests/http/clients
Viktor Szakats c6fb9895b6
cmake: cleanup header paths
- sync build-dir/source-dir header path order with autotools, by
  including build-dir first, then source-dir.
  This prevents out-of-tree builds breaking due to leftover generated
  headers in the source tree.

- tests/unit: move `src` ahead of `libtest` in header path, syncing with
  autotools.

- stop adding non-existing generated `include` dir to header path.
  There are no generated `include` headers and this directory is either
  missing in out-of-tree builds or the same as the one already added
  globally via the root `CMakeLists.txt`.

- lib: stop adding a duplicate source include directory to the header
  path.
  It's already added globally via the root `CMakeLists.txt`.

- lib: stop adding the project root to the header path.

- docs/examples: drop internal header paths.
  Examples do not and should not use internal headers.

- replace `curl_setup_once.h` in comments with `curl_setup.h`,
  the header actually used, and also referred to in autotools comments.

- add comment why we need `src` in include path for `tests/server`.

- add quotes around header directories.

Closes #14416
2024-08-06 22:33:05 +02:00
..
.gitignore tidy-up: whitespace [ci skip] 2024-04-05 15:50:07 +00:00
CMakeLists.txt cmake: cleanup header paths 2024-08-06 22:33:05 +02:00
h2-download.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-pausing.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-serverpush.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-upgrade-extreme.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
Makefile.am cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
Makefile.inc cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
tls-session-reuse.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
upload-pausing.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
ws-data.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
ws-pingpong.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00