diff options
author | Brad King <brad.king@kitware.com> | 2021-07-15 14:44:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-15 17:12:07 (GMT) |
commit | 7adfd890fb8c44738d64f7ade5eec62f6bafb3df (patch) | |
tree | acd8022016b5ae51ab8620697fbc589c87d4d4e2 /Modules | |
parent | 63c1262375bc111ad191568d29dbb6d6b8bb34f4 (diff) | |
download | CMake-7adfd890fb8c44738d64f7ade5eec62f6bafb3df.zip CMake-7adfd890fb8c44738d64f7ade5eec62f6bafb3df.tar.gz CMake-7adfd890fb8c44738d64f7ade5eec62f6bafb3df.tar.bz2 |
VS: Add CSharp VS 2022 compiler version and flag table v143
While the flag tables for C and C++ were generated from MSBuild `.xml`
files, the CSharp flag tables were written by hand. Copy the `v142`
flag table to use for the `v143` toolset.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeCSharpCompilerId.cs.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeCSharpCompilerId.cs.in b/Modules/CMakeCSharpCompilerId.cs.in index 5afe08f..b43ec04 100644 --- a/Modules/CMakeCSharpCompilerId.cs.in +++ b/Modules/CMakeCSharpCompilerId.cs.in @@ -17,6 +17,8 @@ namespace CSharp + "Visual Studio" #elif PlatformToolsetv142 + "Visual Studio" +#elif PlatformToolsetv143 + + "Visual Studio" #else + "unknown" #endif @@ -49,6 +51,8 @@ namespace CSharp + "2017" #elif PlatformToolsetv142 + "2019" +#elif PlatformToolsetv143 + + "2022" #else + "9999" #endif |