1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 05:26:58 +08:00

cmGlobalVisualStudio71Generator: Remove this now-unnecessary class

It no longer contains anything not in `cmGlobalVisualStudio7Generator`.
This commit is contained in:
Brad King
2025-09-16 11:02:45 -04:00
parent 3882718872
commit 772cf917c1
6 changed files with 5 additions and 31 deletions

View File

@@ -935,8 +935,6 @@ if(WIN32)
cmGlobalNMakeMakefileGenerator.h
cmGlobalJOMMakefileGenerator.cxx
cmGlobalJOMMakefileGenerator.h
cmGlobalVisualStudio71Generator.cxx
cmGlobalVisualStudio71Generator.h
cmGlobalVisualStudio7Generator.cxx
cmGlobalVisualStudio7Generator.h
cmGlobalVisualStudio8Generator.cxx

View File

@@ -23,7 +23,6 @@
#include "cmExperimental.h"
#include "cmGeneratorTarget.h"
#include "cmGlobalGenerator.h"
#include "cmGlobalVisualStudio71Generator.h"
#include "cmGlobalVisualStudio7Generator.h"
#include "cmGlobalVisualStudioGenerator.h"
#include "cmIDEFlagTable.h"
@@ -861,7 +860,7 @@ std::string cmGlobalVisualStudio10Generator::FindDevEnvCommand()
// Skip over the cmGlobalVisualStudio8Generator implementation because
// we expect a real devenv and do not want to look for VCExpress.
// NOLINTNEXTLINE(bugprone-parent-virtual-call)
return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
return this->cmGlobalVisualStudio7Generator::FindDevEnvCommand();
}
bool cmGlobalVisualStudio10Generator::FindVCTargetsPath(cmMakefile* mf)

View File

@@ -1,10 +0,0 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#include "cmGlobalVisualStudio71Generator.h"
class cmake;
cmGlobalVisualStudio71Generator::cmGlobalVisualStudio71Generator(cmake* cm)
: cmGlobalVisualStudio7Generator(cm)
{
}

View File

@@ -1,13 +0,0 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmGlobalVisualStudio7Generator.h"
class cmake;
class cmGlobalVisualStudio71Generator : public cmGlobalVisualStudio7Generator
{
public:
cmGlobalVisualStudio71Generator(cmake* cm);
};

View File

@@ -40,7 +40,7 @@ struct cmIDEFlagTable;
cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator(
cmake* cm, std::string const& name)
: cmGlobalVisualStudio71Generator(cm)
: cmGlobalVisualStudio7Generator(cm)
{
this->Name = name;
this->ExtraFlagTable =
@@ -61,7 +61,7 @@ std::string cmGlobalVisualStudio8Generator::FindDevEnvCommand()
return vsxcmd;
}
// Now look for devenv.
return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
return this->cmGlobalVisualStudio7Generator::FindDevEnvCommand();
}
void cmGlobalVisualStudio8Generator::EnableLanguage(

View File

@@ -9,7 +9,7 @@
#include <cm/optional>
#include "cmGlobalVisualStudio71Generator.h"
#include "cmGlobalVisualStudio7Generator.h"
class cmGeneratorTarget;
class cmMakefile;
@@ -21,7 +21,7 @@ struct cmIDEFlagTable;
*
* cmGlobalVisualStudio8Generator manages UNIX build process for a tree
*/
class cmGlobalVisualStudio8Generator : public cmGlobalVisualStudio71Generator
class cmGlobalVisualStudio8Generator : public cmGlobalVisualStudio7Generator
{
public:
//! Get the name for the generator.