feat: per-generator options#1235
Merged
alandefreitas merged 8 commits intoJun 19, 2026
Merged
Conversation
✨ Highlights
🧾 Changes by Scope
🔝 Top Files
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1235 +/- ##
===========================================
+ Coverage 78.82% 83.16% +4.34%
===========================================
Files 346 35 -311
Lines 35798 3658 -32140
Branches 7240 843 -6397
===========================================
- Hits 28216 3042 -25174
+ Misses 4938 409 -4529
+ Partials 2644 207 -2437
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The push trigger filtered branches with '*', which does not match a '/' in a branch name, so slashed branches like feat/x never built on push. Use '**' so any branch builds on push.
27eb7d0 to
fb0c7db
Compare
|
An automated preview of the documentation is available at https://1235.mrdocs.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-06-19 03:00:35 UTC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change lets each generator carry its own options that take precedence over the shared ones, so a single run can, for example, send the HTML and XML outputs to different destinations or apply different settings. This is used in CI, where we generate demos in multiple formats, allowing generators to reuse the extraction step. The feature looked small, but reaching it meant first fixing a handful of inconsistencies and bugs in the surrounding code. Fixes #762.
Changes
The generators now share a single entry point, so options and output paths resolve the same way whether one generator runs or several. Getting there also required implementing command-line overrides to access nested settings, pinning the CMake build directory to a fixed location and inspecting it after a failed configure, and refactoring the test runner to run reproducibly from a suite-root marker, one generator at a time.
Testing
New unit tests cover command-line override parsing, and the golden suite now runs each generator on its own, so per-generator behavior stays covered on every build.
Documentation
The configuration reference has been updated to include entries for the per-generator options and the new CMake build-directory option.