mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
Merge topic 'fix-vs2017-guid-braces'
fd7e8f33 VS: Fix project reference inspection in VS IDE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !727
This commit is contained in:
@@ -3395,13 +3395,8 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences()
|
||||
this->ConvertToWindowsSlash(path);
|
||||
(*this->BuildFileStream) << cmVS10EscapeXML(path) << "\">\n";
|
||||
this->WriteString("<Project>", 3);
|
||||
if (csproj == this->ProjectType) {
|
||||
(*this->BuildFileStream) << "{";
|
||||
}
|
||||
(*this->BuildFileStream) << this->GlobalGenerator->GetGUID(name.c_str());
|
||||
if (csproj == this->ProjectType) {
|
||||
(*this->BuildFileStream) << "}";
|
||||
}
|
||||
(*this->BuildFileStream)
|
||||
<< "{" << this->GlobalGenerator->GetGUID(name.c_str()) << "}";
|
||||
(*this->BuildFileStream) << "</Project>\n";
|
||||
this->WriteString("<Name>", 3);
|
||||
(*this->BuildFileStream) << name << "</Name>\n";
|
||||
|
||||
Reference in New Issue
Block a user