Browse Source

FlagTables: Add entries for cl -scanDependencies flag

As of VS 17.6, MSBuild maps `ModuleDependenciesFile` to this flag
instead of the older `-sourceDependencies:directives` flag.
Map both flags to `ModuleDependenciesFile` for compatibility.
Ben Boeckel 2 years ago
parent
commit
50f3c58083

+ 9 - 0
Templates/MSBuild/FlagTables/v142_CL.json

@@ -1411,6 +1411,15 @@
       "UserFollowing"
     ]
   },
+  {
+    "name": "ModuleDependenciesFile",
+    "switch": "scanDependencies",
+    "comment": "Module Dependencies File Name",
+    "value": "",
+    "flags": [
+      "UserFollowing"
+    ]
+  },
   {
     "name": "ModuleDependenciesFile",
     "switch": "sourceDependencies:directives",

+ 9 - 0
Templates/MSBuild/FlagTables/v143_CL.json

@@ -1410,6 +1410,15 @@
       "UserFollowing"
     ]
   },
+  {
+    "name": "ModuleDependenciesFile",
+    "switch": "scanDependencies",
+    "comment": "Module Dependencies File Name",
+    "value": "",
+    "flags": [
+      "UserFollowing"
+    ]
+  },
   {
     "name": "ModuleDependenciesFile",
     "switch": "sourceDependencies:directives",