summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorζeh Matt <5415177+ZehMatt@users.noreply.github.com>2022-10-25 21:27:23 +0300
committerBrad King <brad.king@kitware.com>2022-10-28 11:55:58 -0400
commiteef13a4b33ebfec6023e56128bbd2804adc9a96b (patch)
treebdeb2b3048e6a6c71447a6d9275b8bf2af558aa9 /Templates
parent0815329dbc16283dcb22cccce60c731ff4e2652c (diff)
downloadcmake-eef13a4b33ebfec6023e56128bbd2804adc9a96b.tar.gz
VS: Add COMMON_LANGUAGE_RUNTIME support for "netcore"
Generate `CLRSupport` for Visual Studio projects. Fixes: #22054
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json7
-rw-r--r--Templates/MSBuild/FlagTables/v143_CL.json7
2 files changed, 14 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index c76c040bc0..4f2dce8c77 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -56,6 +56,13 @@
"flags": []
},
{
+ "name": "CLRSupport",
+ "switch": "clr:netcore",
+ "comment": ".NET Core Runtime Support",
+ "value": "NetCore",
+ "flags": []
+ },
+ {
"name": "WarningLevel",
"switch": "W0",
"comment": "Turn Off All Warnings",
diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json
index 993fbf14d9..119e171c2a 100644
--- a/Templates/MSBuild/FlagTables/v143_CL.json
+++ b/Templates/MSBuild/FlagTables/v143_CL.json
@@ -56,6 +56,13 @@
"flags": []
},
{
+ "name": "CLRSupport",
+ "switch": "clr:netcore",
+ "comment": ".NET Core Runtime Support",
+ "value": "NetCore",
+ "flags": []
+ },
+ {
"name": "WarningLevel",
"switch": "W0",
"comment": "Turn Off All Warnings",