curl/tests/server
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: mostly whitespace nits 2023-08-31 23:02:10 +00:00
base64.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeLists.txt cmake: cleanup header paths 2024-08-06 22:33:05 +02:00
disabled.c tests: add SHA-512/256 unit test 2024-02-20 11:36:03 +01:00
fake_ntlm.c tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
getpart.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
getpart.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
Makefile.inc copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mqttd.c tests: tidy up types in server code 2024-05-13 11:16:26 +02:00
resolve.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
rtspd.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
server_setup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
server_sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
sockfilt.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
socksd.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
sws.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
testpart.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.h tests: tidy up types in server code 2024-05-13 11:16:26 +02:00
tftpd.c tests: tidy up types in server code 2024-05-13 11:16:26 +02:00
util.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
util.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00