VS: Add DOTNET_SDK property to generate SDK-style C# projects

Changes in cmVisualStudio10TargetGenerator::Generate to write .Net
SDK-style project for VS generators VS 19 and above. Also adds
documentation and tests.

Issue: #20227
This commit is contained in:
Sumit Bhardwaj
2021-12-15 08:21:34 -08:00
parent a450cc9533
commit 0eea32a376
26 changed files with 357 additions and 3 deletions

View File

@@ -431,6 +431,8 @@ public:
bool IsCSharpOnly() const;
bool IsDotNetSdkTarget() const;
void GetObjectLibrariesCMP0026(
std::vector<cmGeneratorTarget*>& objlibs) const;