Skip to content

build: split .c and .h file lists in tests#17745

Closed
vszakats wants to merge 15 commits intocurl:masterfrom
vszakats:t-sep-h-var
Closed

build: split .c and .h file lists in tests#17745
vszakats wants to merge 15 commits intocurl:masterfrom
vszakats:t-sep-h-var

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jun 25, 2025

It allows to pass .h files only where they are really needed, which is
EXTRA_DIST (or *SOURCES) for autotools.

Also:

  • rename variables to be shorter and consistent.
  • drop references to non-local headers. We don't need to pass them as
    dist sources.
  • drop empty variables and references, after the above.
  • server: add placeholder UTIL_H.

  • still thinking about variable names, because _H conflates
    with feature check macros and header guards, and messes up
    greps. → It's only FIRST_H and UTILS_H, so this should be
    fine.
  • there is room to improve consistency in internal variables
    with src and libs. Future PR.

@vszakats vszakats changed the title build: split .c and .h filelists in tests build: split .c and .h file lists in tests Jun 25, 2025
@vszakats

This comment was marked as resolved.

@vszakats vszakats closed this in 53c8843 Jun 26, 2025
@vszakats vszakats deleted the t-sep-h-var branch June 26, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant