mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
cmGlobalVisualStudio7Generator: Inline short method at only call site
This commit is contained in:
@@ -299,8 +299,11 @@ void cmGlobalVisualStudio7Generator::Generate()
|
||||
// first do the superclass method
|
||||
this->cmGlobalVisualStudioGenerator::Generate();
|
||||
|
||||
// Now write out the VS Solution file.
|
||||
this->OutputSLNFile();
|
||||
// Now write out the VS Solution files.
|
||||
for (auto& it : this->ProjectMap) {
|
||||
this->OutputSLNFile(it.second[0], it.second);
|
||||
}
|
||||
|
||||
// If any solution or project files changed during the generation,
|
||||
// tell Visual Studio to reload them...
|
||||
if (!cmSystemTools::GetErrorOccurredFlag() &&
|
||||
@@ -340,14 +343,6 @@ void cmGlobalVisualStudio7Generator::OutputSLNFile(
|
||||
}
|
||||
}
|
||||
|
||||
// output the SLN file
|
||||
void cmGlobalVisualStudio7Generator::OutputSLNFile()
|
||||
{
|
||||
for (auto& it : this->ProjectMap) {
|
||||
this->OutputSLNFile(it.second[0], it.second);
|
||||
}
|
||||
}
|
||||
|
||||
void cmGlobalVisualStudio7Generator::WriteTargetConfigurations(
|
||||
std::ostream& fout, std::vector<std::string> const& configs,
|
||||
OrderedTargetDependSet const& projectTargets) const
|
||||
|
||||
@@ -82,11 +82,6 @@ public:
|
||||
std::vector<std::string> const& makeOptions =
|
||||
std::vector<std::string>()) override;
|
||||
|
||||
/**
|
||||
* Generate the VS Solution file.
|
||||
*/
|
||||
virtual void OutputSLNFile();
|
||||
|
||||
//! Lookup a stored GUID or compute one deterministically.
|
||||
std::string GetGUID(std::string const& name) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user