From 1ac1436b25bc65b47ec037c98956ac480bcbed05 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Wed, 14 Jul 2021 13:59:54 -0400
Subject: [PATCH] VS: Fix `/sourceDependencies` flag table entries for v143

Revise the `/sourceDependencies[:directives]` table entries to properly
distinguish the two options (because one is a prefix of the other), and
to populate both `Generate*Dependencies` and `*DependenciesFile`.

This is the manual update mentioned in commit 887e9df0c7 (VS: Update
v142 CL flag table for VS 16.10, 2021-06-04, v3.21.0-rc1~77^2).
---
 Templates/MSBuild/FlagTables/v143_CL.json | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json
index 41c80001285..9d8ddb02561 100644
--- a/Templates/MSBuild/FlagTables/v143_CL.json
+++ b/Templates/MSBuild/FlagTables/v143_CL.json
@@ -1116,8 +1116,6 @@
     "comment": "Generate Module Dependenices File",
     "value": "true",
     "flags": [
-      "UserValue",
-      "UserIgnored",
       "Continue"
     ]
   },
@@ -1138,8 +1136,6 @@
     "comment": "Generate Source Dependencies File",
     "value": "true",
     "flags": [
-      "UserValue",
-      "UserIgnored",
       "Continue"
     ]
   },
@@ -1430,8 +1426,7 @@
     "comment": "Module Dependencies File Name",
     "value": "",
     "flags": [
-      "UserValue",
-      "UserRequired"
+      "UserFollowing"
     ]
   },
   {
@@ -1468,8 +1463,7 @@
     "comment": "Source Dependencies File Name",
     "value": "",
     "flags": [
-      "UserValue",
-      "UserRequired"
+      "UserFollowing"
     ]
   },
   {
-- 
GitLab