mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05: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
|
// first do the superclass method
|
||||||
this->cmGlobalVisualStudioGenerator::Generate();
|
this->cmGlobalVisualStudioGenerator::Generate();
|
||||||
|
|
||||||
// Now write out the VS Solution file.
|
// Now write out the VS Solution files.
|
||||||
this->OutputSLNFile();
|
for (auto& it : this->ProjectMap) {
|
||||||
|
this->OutputSLNFile(it.second[0], it.second);
|
||||||
|
}
|
||||||
|
|
||||||
// If any solution or project files changed during the generation,
|
// If any solution or project files changed during the generation,
|
||||||
// tell Visual Studio to reload them...
|
// tell Visual Studio to reload them...
|
||||||
if (!cmSystemTools::GetErrorOccurredFlag() &&
|
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(
|
void cmGlobalVisualStudio7Generator::WriteTargetConfigurations(
|
||||||
std::ostream& fout, std::vector<std::string> const& configs,
|
std::ostream& fout, std::vector<std::string> const& configs,
|
||||||
OrderedTargetDependSet const& projectTargets) const
|
OrderedTargetDependSet const& projectTargets) const
|
||||||
|
|||||||
@@ -82,11 +82,6 @@ public:
|
|||||||
std::vector<std::string> const& makeOptions =
|
std::vector<std::string> const& makeOptions =
|
||||||
std::vector<std::string>()) override;
|
std::vector<std::string>()) override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Generate the VS Solution file.
|
|
||||||
*/
|
|
||||||
virtual void OutputSLNFile();
|
|
||||||
|
|
||||||
//! Lookup a stored GUID or compute one deterministically.
|
//! Lookup a stored GUID or compute one deterministically.
|
||||||
std::string GetGUID(std::string const& name) const;
|
std::string GetGUID(std::string const& name) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user