mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Merge topic 'vs-slnx'
7c284f4278 VS: Fix SLNX with multiple solution-to-project configuration mappings
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11415
This commit is contained in:
@@ -319,6 +319,7 @@ void WriteSlnxProject(cmXMLElement& xmlParent, Solution const& solution,
|
||||
for (std::size_t i = 0; i < solution.Configs.size(); ++i) {
|
||||
if (project.Configs[i].Config != solution.Configs[i]) {
|
||||
cmXMLElement(xmlProject, "BuildType")
|
||||
.Attribute("Solution", cmStrCat(solution.Configs[i], "|*"))
|
||||
.Attribute("Project", project.Configs[i].Config);
|
||||
}
|
||||
if (!project.Configs[i].Build) {
|
||||
|
||||
Reference in New Issue
Block a user