summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-26 14:02:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-26 14:02:25 (GMT)
commit5d31e7a25d4b1ebdf0137377d5668337b7e03b5b (patch)
tree77ad7727f6315f84fe057d6bb166b36b708e92e3
parentcad804e2c4b3dd461b328a42a0e1535923032e23 (diff)
parentee78391c093008d7ce9cbda4f5a7afe6d2816d41 (diff)
downloadCMake-5d31e7a25d4b1ebdf0137377d5668337b7e03b5b.zip
CMake-5d31e7a25d4b1ebdf0137377d5668337b7e03b5b.tar.gz
CMake-5d31e7a25d4b1ebdf0137377d5668337b7e03b5b.tar.bz2
Merge topic 'csharp-vs-v142-flags'
ee78391c09 CSharp: Add 'warnaserror:...' to v142 flag table for VS e38997d85a CSharp: Add 'debug:portable' to v142 flag table for VS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5735
-rw-r--r--Templates/MSBuild/FlagTables/v142_CSharp.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CSharp.json b/Templates/MSBuild/FlagTables/v142_CSharp.json
index 5989aea..4dcea9d 100644
--- a/Templates/MSBuild/FlagTables/v142_CSharp.json
+++ b/Templates/MSBuild/FlagTables/v142_CSharp.json
@@ -201,6 +201,13 @@
"flags": []
},
{
+ "name": "DebugType",
+ "switch": "debug:portable",
+ "comment": "",
+ "value": "portable",
+ "flags": []
+ },
+ {
"name": "Optimize",
"switch": "optimize",
"comment": "",
@@ -264,6 +271,17 @@
"flags": []
},
{
+ "name": "WarningsAsErrors",
+ "switch": "warnaserror:",
+ "comment": "",
+ "value": "",
+ "flags": [
+ "UserValue",
+ "UserRequired",
+ "CommaAppendable"
+ ]
+ },
+ {
"name": "WarningLevel",
"switch": "warn:0",
"comment": "",