You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add visualStudioArguments for MSVC kit and handle it properly (#4619)
* There is no need patch Windows Kit 10.0.14393.0, it's support by MSVC 2015 directly
Signed-off-by: Yonggang Luo <[email protected]>
* Add visualStudioArguments and handle it properly
This is support for specify custom Windows SDK Kit.
Signed-off-by: Yonggang Luo <[email protected]>
* docs: Add new feature Select SDK under Windows
Signed-off-by: Yonggang Luo <[email protected]>
---------
Signed-off-by: Yonggang Luo <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ Features:
21
21
- Relax `intelliSenseMode` validation in CMake Presets. [#4815](https://github.com/microsoft/vscode-cmake-tools/issues/4815)[@halflifefan](https://github.com/halflifefan)
22
22
- Support string arrays in kit `cmakeSettings` to pass CMake lists without escaping semicolons (e.g., `"LLVM_ENABLE_PROJECTS": ["clang", "lld"]`). [#4503](https://github.com/microsoft/vscode-cmake-tools/issues/4503)
23
23
- Add `cmake.outlineViewType` setting to toggle the Project Outline between a flat list view and the prior hierarchical tree view that shows each CMake project separately. [#3799](https://github.com/microsoft/vscode-cmake-tools/issues/3799)[#4538](https://github.com/microsoft/vscode-cmake-tools/pull/4538)[@ar1m4n](https://github.com/ar1m4n)
24
+
- Add `kit.visualStudioArguments` property, this is the extra arguments that would be passed to the `vcvarsall.bat` file when entering the VS dev environment, those arguments are `[platform_type] [winsdk_version] [-vcvars_ver=vc_version] [-vcvars_spectre_libs=spectre_mode]`. [#125](https://github.com/microsoft/vscode-cmake-tools/issues/125)[#4538](https://github.com/microsoft/vscode-cmake-tools/pull/4619)[@lygstate](https://github.com/lygstate)
24
25
25
26
Improvements:
26
27
- Clarify variable substitution scope in docs for `settings.json` vs generic VS Code `tasks.json`/`launch.json`, including when to use `${command:cmake.*}` and why `${buildKit}`, `${generator}`, and `${config:cmake.configureArgs}` may not expand as expected in tasks. [#4010](https://github.com/microsoft/vscode-cmake-tools/issues/4010)
Copy file name to clipboardExpand all lines: docs/kits.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,14 +112,16 @@ CMake Tools automatically sets up the environment for working with Visual C++. I
112
112
{
113
113
"name": "A Visual Studio",
114
114
"visualStudio": "Visual Studio Build Tools 2017",
115
-
"visualStudioArchitecture": "amd64"
115
+
"visualStudioArchitecture": "amd64",
116
+
"visualStudioArguments": ["uwp", "10.0.10240.0"]
116
117
}
117
118
]
118
119
```
119
120
120
121
Keys:
121
122
> `visualStudio` : the name of a Visual Studio installation obtained by `VSWhere`.\
122
123
> `visualStudioArchitecture`: the Visual Studio target architecture that would be passed to the `vcvarsall.bat` file when entering the VS dev environment.
124
+
> `visualStudioArguments`: the extra arguments that would be passed to the `vcvarsall.bat` file when entering the VS dev environment, those arguments are `[platform_type] [winsdk_version] [-vcvars_ver=vc_version] [-vcvars_spectre_libs=spectre_mode]`
123
125
124
126
> **Note:**
125
127
> To use Visual C++, both `visualStudio` and `visualStudioArchitecture` must be specified. Omitting either one won't work.
0 commit comments