From 533f95c8479c6c04ec23263244671bd81a98ea39 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Thu, 24 Jan 2019 13:03:53 -0500
Subject: [PATCH] VS: Map the link `/debug` flag for v142

Apply the changes from commit a5d9aa5063 (VS: Map the link `/debug` to
its IDE property, 2018-11-21) and commit f77320c12a (VS: Add v140 and
v141 flag table entries for /DEBUG:NONE and /DEBUG:FULL, 2018-11-21) to
the v142 flag table.

See commit ae44496e2b (VS: Fix GenerateDebugInformation values for v140
and v141 toolsets, 2017-06-27, v3.9.0-rc6~15^2~1) for explanation.
---
 Templates/MSBuild/FlagTables/v142_Link.json | 28 +++++++++++++--------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/Templates/MSBuild/FlagTables/v142_Link.json b/Templates/MSBuild/FlagTables/v142_Link.json
index 481468edb8..c4fd8e398e 100644
--- a/Templates/MSBuild/FlagTables/v142_Link.json
+++ b/Templates/MSBuild/FlagTables/v142_Link.json
@@ -118,33 +118,41 @@
     "value": "RequireAdministrator",
     "flags": []
   },
-  {
-    "name": "GenerateDebugInformation",
-    "switch": "",
-    "comment": "No",
-    "value": "false",
-    "flags": []
-  },
   {
     "name": "GenerateDebugInformation",
     "switch": "DEBUG",
     "comment": "Generate Debug Information",
     "value": "true",
-    "flags": []
+    "flags": [
+      "CaseInsensitive"
+    ]
   },
   {
     "name": "GenerateDebugInformation",
     "switch": "DEBUG:FASTLINK",
     "comment": "Generate Debug Information optimized for faster links",
     "value": "DebugFastLink",
-    "flags": []
+    "flags": [
+      "CaseInsensitive"
+    ]
   },
   {
     "name": "GenerateDebugInformation",
     "switch": "DEBUG:FULL",
     "comment": "Generate Debug Information optimized for sharing and publishing",
     "value": "DebugFull",
-    "flags": []
+    "flags": [
+      "CaseInsensitive"
+    ]
+  },
+  {
+    "name": "GenerateDebugInformation",
+    "switch": "DEBUG:NONE",
+    "comment": "Produces no debugging information",
+    "value": "false",
+    "flags": [
+      "CaseInsensitive"
+    ]
   },
   {
     "name": "SubSystem",
-- 
GitLab