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

Update schema for cacheVariables #1935

Merged
merged 5 commits into from
Jun 24, 2021
Merged

Update schema for cacheVariables #1935

merged 5 commits into from
Jun 24, 2021

Conversation

bobbrow
Copy link
Member

@bobbrow bobbrow commented Jun 16, 2021

This change addresses item #1934

The schema was too strict for CMAKE_BUILD_TYPE and rejected environment references. It was also missing support for null which is a valid way to clear the value of a variable for a given preset.

The object support was removed as I don't believe it is valid for CMAKE_BUILD_TYPE.

NOTE FOR REVIEWERS: You should "hide whitespaces changes" to see the actual changes in the file. The indentation of the entire file was off by 2 which caused enough pain editing the schema that I reformatted the file as part of this.

@bobbrow
Copy link
Member Author

bobbrow commented Jun 16, 2021

@gugavaro This PR affects the schema and we will want to bring the changes back to VS too.

@bobbrow bobbrow added this to the 1.8.0 milestone Jun 16, 2021
@bobbrow bobbrow requested review from gugavaro, a team and xisui-MSFT June 16, 2021 20:24
@bobbrow bobbrow merged commit cea9766 into develop Jun 24, 2021
@bobbrow bobbrow deleted the bobbrow/buildTypeSchema branch June 24, 2021 16:53
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant