We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a3770 commit 4a334a6Copy full SHA for 4a334a6
1 file changed
src/drivers/cmakeDriver.ts
@@ -1006,9 +1006,13 @@ export abstract class CMakeDriver implements vscode.Disposable {
1006
if (!generator_present) {
1007
const vsMatch = /^(Visual Studio \d{2} \d{4})($|\sWin64$|\sARM$)/.exec(gen.name);
1008
if (platform === 'win32' && vsMatch) {
1009
+ let possibleArchitecture = vsMatch[2].trim();
1010
+ if (possibleArchitecture && possibleArchitecture === "Win64") {
1011
+ possibleArchitecture = "x64";
1012
+ }
1013
return {
1014
name: vsMatch[1],
- platform: gen.platform || vsMatch[2],
1015
+ platform: gen.platform || possibleArchitecture,
1016
toolset: gen.toolset
1017
};
1018
}
0 commit comments