diff options
author | ζeh Matt <5415177+ZehMatt@users.noreply.github.com> | 2022-10-25 18:27:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-28 15:55:58 (GMT) |
commit | eef13a4b33ebfec6023e56128bbd2804adc9a96b (patch) | |
tree | bdeb2b3048e6a6c71447a6d9275b8bf2af558aa9 /Templates | |
parent | 0815329dbc16283dcb22cccce60c731ff4e2652c (diff) | |
download | CMake-eef13a4b33ebfec6023e56128bbd2804adc9a96b.zip CMake-eef13a4b33ebfec6023e56128bbd2804adc9a96b.tar.gz CMake-eef13a4b33ebfec6023e56128bbd2804adc9a96b.tar.bz2 |
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.json | 7 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v143_CL.json | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index c76c040..4f2dce8 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 993fbf1..119e171 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", |