Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix preset inheritance for condition field. #3494

Merged
merged 2 commits into from Dec 19, 2023

Conversation

gcampbell-msft
Copy link
Collaborator

The parent condition shouldn't be considered if a child preset defines its own condition. Basically, a child-defined condition overrides inherited conditions. This is based on feedback and experimentation with the cmake.exe cli.

Fixes #2802, #3340, and keeps integrity of fixing #2185.

The parent condition shouldn't be considered if a child preset defines
its own condition. Basically, a child-defined condition overrides
inherited conditions. This is based on feedback and experimentation with
the cmake.exe cli.
@gcampbell-msft gcampbell-msft merged commit b34d610 into main Dec 19, 2023
4 checks passed
@gcampbell-msft gcampbell-msft deleted the dev/gcampbell/FixPresetInheritCondition branch December 19, 2023 15:21
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.

preset inheritance doesn't work properly when CMake: Select Configure Preset
2 participants