Skip to content

Consolidate configure- and build- preset code#81

Merged
MarkSchofield merged 3 commits intodevelopfrom
mschofie/preset-cleanup
Nov 9, 2025
Merged

Consolidate configure- and build- preset code#81
MarkSchofield merged 3 commits intodevelopfrom
mschofie/preset-cleanup

Conversation

@MarkSchofield
Copy link
Owner

Many paths in PSCMake need to find a build- or configuration- preset. The code accepts a preset name through CmdLet parameters, asks for the names of possible presets, matches against the preset name that was passed, and - having resolved a preset - resolves the preset object it needs. This 'two pass' lookup is more work - to be able to support 'user presets' or 'included presets', it would make more sense to consolidate the lookup so the full suite of presets is resolved in one place. And that's what this PR does - getting the full presets up-front. There are individual commits switching 'configure presets' and then 'build presets', and then consolidation of common code.

@MarkSchofield MarkSchofield merged commit 4a51c9f into develop Nov 9, 2025
1 check passed
@MarkSchofield MarkSchofield deleted the mschofie/preset-cleanup branch November 9, 2025 07:45
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