mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Implement properties VS_GLOBAL_SECTION_*
Add properties VS_GLOBAL_SECTION_PRE_<name> and VS_GLOBAL_SECTION_POST_<name>, which can be used to generate custom GlobalSection-s in the .sln file.
This commit is contained in:
@@ -128,6 +128,9 @@ void cmGlobalVisualStudio71Generator
|
||||
fout << "\tEndGlobalSection\n";
|
||||
}
|
||||
|
||||
// Write out global sections
|
||||
this->WriteSLNGlobalSections(fout, root);
|
||||
|
||||
// Write the footer for the SLN file
|
||||
this->WriteSLNFooter(fout);
|
||||
}
|
||||
@@ -293,17 +296,6 @@ void cmGlobalVisualStudio71Generator
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Standard end of dsw file
|
||||
void cmGlobalVisualStudio71Generator::WriteSLNFooter(std::ostream& fout)
|
||||
{
|
||||
fout << "\tGlobalSection(ExtensibilityGlobals) = postSolution\n"
|
||||
<< "\tEndGlobalSection\n"
|
||||
<< "\tGlobalSection(ExtensibilityAddIns) = postSolution\n"
|
||||
<< "\tEndGlobalSection\n"
|
||||
<< "EndGlobal\n";
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// ouput standard header for dsw file
|
||||
void cmGlobalVisualStudio71Generator::WriteSLNHeader(std::ostream& fout)
|
||||
|
||||
Reference in New Issue
Block a user