cmGlobalVisualStudio71Generator: Remove unused code left from VS 7.1

This commit is contained in:
Brad King
2025-09-05 15:05:21 -04:00
parent a5cb4fe1c6
commit ee94b01be0
2 changed files with 1 additions and 11 deletions

View File

@@ -66,16 +66,6 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(
this->WriteSLNFooter(fout);
}
void cmGlobalVisualStudio71Generator::WriteSolutionConfigurations(
std::ostream& fout, std::vector<std::string> const& configs) const
{
fout << "\tGlobalSection(SolutionConfiguration) = preSolution\n";
for (std::string const& i : configs) {
fout << "\t\t" << i << " = " << i << '\n';
}
fout << "\tEndGlobalSection\n";
}
// Write a dsp file into the SLN file,
// Note, that dependencies from executables to
// the libraries it uses are also done here

View File

@@ -32,7 +32,7 @@ protected:
OrderedTargetDependSet const& orderedProjectTargets,
VSFolders const& vsFolders) const override;
virtual void WriteSolutionConfigurations(
std::ostream& fout, std::vector<std::string> const& configs) const;
std::ostream& fout, std::vector<std::string> const& configs) const = 0;
void WriteProject(std::ostream& fout, std::string const& name,
std::string const& path,
cmGeneratorTarget const* t) const override;