mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 04:08:46 -06:00
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:
@@ -263,10 +263,13 @@ private:
|
||||
|
||||
// .Net SDK-stype project variable and helper functions
|
||||
void WriteClassicMsBuildProjectFile(cmGeneratedFileStream& BuildFileStream);
|
||||
void WriteSdkStyleProjectFile(cmGeneratedFileStream& BuildFileStream);
|
||||
|
||||
void WriteCommonPropertyGroupGlobals(
|
||||
cmVisualStudio10TargetGenerator::Elem& e1);
|
||||
|
||||
bool HasCustomCommands() const;
|
||||
|
||||
std::unordered_map<std::string, ConfigToSettings> ParsedToolTargetSettings;
|
||||
bool PropertyIsSameInAllConfigs(const ConfigToSettings& toolSettings,
|
||||
const std::string& propName);
|
||||
|
||||
Reference in New Issue
Block a user