diff options
author | Brad King <brad.king@kitware.com> | 2024-09-26 12:41:16 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-09-26 12:41:34 (GMT) |
commit | 8d69aa79b059c9b6145de04458088a6e1e700837 (patch) | |
tree | 68498c1817efac0202d590a3cc6db07686fcf236 /Source | |
parent | f8c96b23951babb168694509c28140bdc989ff4a (diff) | |
parent | 55a5094f0e7313b4fb5244091a4d1b7faa48bbf9 (diff) | |
download | CMake-8d69aa79b059c9b6145de04458088a6e1e700837.zip CMake-8d69aa79b059c9b6145de04458088a6e1e700837.tar.gz CMake-8d69aa79b059c9b6145de04458088a6e1e700837.tar.bz2 |
Merge topic 'net-sdk-configurations'
55a5094f0e VS: Fix missing <Configurations> property for DOTNET_SDK
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9849
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 71a140b..1e338b2 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -914,6 +914,8 @@ void cmVisualStudio10TargetGenerator::WriteSdkStyleProjectFile( Elem e1(e0, "PropertyGroup"); this->WriteCommonPropertyGroupGlobals(e1); + e1.Element("Configurations", cmJoinStrings(this->Configurations, ";", "")); + e1.Element("EnableDefaultItems", "false"); // Disable the project upgrade prompt that is displayed the first time a // project using an older toolset version is opened in a newer version |