Browse Source

VS: Add `/arch:NotSet` flag table entries for v14x toolsets

Add `/arch:NotSet` to set `EnableEnhancedInstructionSet` to `NotSet`.

Discourse-topic: https://discourse.cmake.org/t/8892
Stewart L. McCready 2 years ago
parent
commit
0031d5effa

+ 1 - 1
Templates/MSBuild/FlagTables/v140_CL.json

@@ -372,7 +372,7 @@
   },
   {
     "name": "EnableEnhancedInstructionSet",
-    "switch": "",
+    "switch": "arch:NotSet",
     "comment": "Not Set",
     "value": "NotSet",
     "flags": []

+ 1 - 1
Templates/MSBuild/FlagTables/v141_CL.json

@@ -393,7 +393,7 @@
   },
   {
     "name": "EnableEnhancedInstructionSet",
-    "switch": "",
+    "switch": "arch:NotSet",
     "comment": "Not Set",
     "value": "NotSet",
     "flags": []

+ 1 - 1
Templates/MSBuild/FlagTables/v142_CL.json

@@ -407,7 +407,7 @@
   },
   {
     "name": "EnableEnhancedInstructionSet",
-    "switch": "",
+    "switch": "arch:NotSet",
     "comment": "Not Set",
     "value": "NotSet",
     "flags": []

+ 1 - 1
Templates/MSBuild/FlagTables/v143_CL.json

@@ -407,7 +407,7 @@
   },
   {
     "name": "EnableEnhancedInstructionSet",
-    "switch": "",
+    "switch": "arch:NotSet",
     "comment": "Not Set",
     "value": "NotSet",
     "flags": []