-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding of CMakePresets cache variables and arguments (#3537)
* Update the already available settings to use in presets. Turns out, we already have configure, build, buildTool, and test args/envs that can override. I modified the code to use these in presets. Also, I added a small sentence to the settings descriptions to notify users that when using CMake Presets, they are designed for overrides, not general configuration. * pending further discussion, use general environment for all * add temporary override string for presets to environment setting description * don't remove configureSettings * add text to specify that configureSettings isn't for presets scenario * Add tentative treeview UI and output message for configure Still need to do build/test/etc, and likely improve the strings themselves. * add output lines, improvement on the string to come, testing for location * don't output message when we're using cache * add handlers that update the nodes when a test or build setting is modified * slight refactor and add * to status bar * add button that only appears when overrides present that allows opening those settings * share some code * fix localize calls * update tsconfig.json * update eslint * slightly reword the settings * fix buildTool args * avoid duplication * ensure we only return -3 when testPreset isn't defined * fix imports * changelog and docs * refactor to avoid circular dependency * missed one * fix imports
- Loading branch information
1 parent
0c3de56
commit 0e48ef9
Showing
18 changed files
with
349 additions
and
77 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.