Skip to content

Add ability to produce smaller individual schema outputs - #477

Merged
starseeker merged 3 commits into
stepcode:developfrom
starseeker:upstream/schema-generation-chunking
Aug 2, 2026
Merged

Add ability to produce smaller individual schema outputs#477
starseeker merged 3 commits into
stepcode:developfrom
starseeker:upstream/schema-generation-chunking

Conversation

@starseeker

Copy link
Copy Markdown
Member

The generated outputs for schema like AP242 can be enormous - add some controls so we can manage what is produced.

@starseeker
starseeker force-pushed the upstream/schema-generation-chunking branch from 2cb4e35 to 5cd31ce Compare August 2, 2026 02:23
Use modern target_link_libraries scopes so libraries publish their
transitive requirements and executables keep theirs private. This
preserves schema test linkage with current CMake versions.
Generate schema source manifests and bounded unity translation
units, then make schema targets depend on the generated absolute
paths. This avoids oversized compiler inputs while retaining
unity-build performance.
Schemas commonly contain many more entity implementations than type
implementations. Accept N:N chunk limits and use smaller defaults so
both kinds of generated unity files stay manageable.
@starseeker
starseeker force-pushed the upstream/schema-generation-chunking branch from 5cd31ce to 6040858 Compare August 2, 2026 02:28
@starseeker
starseeker merged commit ced6a1d into stepcode:develop Aug 2, 2026
5 of 6 checks passed
@starseeker
starseeker deleted the upstream/schema-generation-chunking branch August 2, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant