Browse Source

VS: Fix `/dynamicdeopt` flag table entry order for v145 toolset

Sort the longer options before the shorter ones.
Brad King 3 tháng trước cách đây
mục cha
commit
6f0d245083

+ 7 - 7
Templates/MSBuild/FlagTables/v145_CL.json

@@ -875,13 +875,6 @@
     "value": "true",
     "flags": []
   },
-  {
-    "name": "UseDynamicDebugging",
-    "switch": "dynamicdeopt",
-    "comment": "Support C++ Dynamic Debugging",
-    "value": "true",
-    "flags": []
-  },
   {
     "name": "CompileAsWinRT",
     "switch": "ZW",
@@ -1522,6 +1515,13 @@
       "UserValue"
     ]
   },
+  {
+    "name": "UseDynamicDebugging",
+    "switch": "dynamicdeopt",
+    "comment": "Support C++ Dynamic Debugging",
+    "value": "true",
+    "flags": []
+  },
   {
     "name": "WarningVersion",
     "switch": "Wv:",

+ 7 - 7
Templates/MSBuild/FlagTables/v145_Link.json

@@ -683,13 +683,6 @@
     "value": "true",
     "flags": []
   },
-  {
-    "name": "UseDynamicDebugging",
-    "switch": "dynamicdeopt",
-    "comment": "Support C++ Dynamic Debugging",
-    "value": "true",
-    "flags": []
-  },
   {
     "name": "LargeAddressAware",
     "switch": "LARGEADDRESSAWARE:NO",
@@ -1164,6 +1157,13 @@
       "UserValue"
     ]
   },
+  {
+    "name": "UseDynamicDebugging",
+    "switch": "dynamicdeopt",
+    "comment": "Support C++ Dynamic Debugging",
+    "value": "true",
+    "flags": []
+  },
   {
     "name": "HeapReserveSize",
     "switch": "HEAP:",