VS: Remove obsolete methods.
Base class implementations for these are identical.
This commit is contained in:
parent
e435f875ec
commit
dad8b03fbe
|
@ -237,13 +237,6 @@ void cmGlobalVisualStudio11Generator::WriteSLNHeader(std::ostream& fout)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio11Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
return new cmLocalVisualStudio10Generator(this, parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool cmGlobalVisualStudio11Generator::UseFolderProperty()
|
bool cmGlobalVisualStudio11Generator::UseFolderProperty()
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,9 +28,6 @@ public:
|
||||||
|
|
||||||
virtual void WriteSLNHeader(std::ostream& fout);
|
virtual void WriteSLNHeader(std::ostream& fout);
|
||||||
|
|
||||||
///! create the correct local generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool InitializeWindowsPhone(cmMakefile* mf);
|
virtual bool InitializeWindowsPhone(cmMakefile* mf);
|
||||||
virtual bool InitializeWindowsStore(cmMakefile* mf);
|
virtual bool InitializeWindowsStore(cmMakefile* mf);
|
||||||
|
|
|
@ -217,13 +217,6 @@ void cmGlobalVisualStudio12Generator::WriteSLNHeader(std::ostream& fout)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio12Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
return new cmLocalVisualStudio10Generator(this, parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
cmGlobalVisualStudio12Generator::IsWindowsDesktopToolsetInstalled() const
|
cmGlobalVisualStudio12Generator::IsWindowsDesktopToolsetInstalled() const
|
||||||
|
|
|
@ -28,9 +28,6 @@ public:
|
||||||
|
|
||||||
virtual void WriteSLNHeader(std::ostream& fout);
|
virtual void WriteSLNHeader(std::ostream& fout);
|
||||||
|
|
||||||
///! create the correct local generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
//in Visual Studio 2013 they detached the MSBuild tools version
|
//in Visual Studio 2013 they detached the MSBuild tools version
|
||||||
//from the .Net Framework version and instead made it have it's own
|
//from the .Net Framework version and instead made it have it's own
|
||||||
//version number
|
//version number
|
||||||
|
|
|
@ -127,10 +127,3 @@ void cmGlobalVisualStudio14Generator::WriteSLNHeader(std::ostream& fout)
|
||||||
fout << "# Visual Studio 14\n";
|
fout << "# Visual Studio 14\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio14Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
return new cmLocalVisualStudio10Generator(this, parent);
|
|
||||||
}
|
|
||||||
|
|
|
@ -28,9 +28,6 @@ public:
|
||||||
|
|
||||||
virtual void WriteSLNHeader(std::ostream& fout);
|
virtual void WriteSLNHeader(std::ostream& fout);
|
||||||
|
|
||||||
///! create the correct local generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
virtual const char* GetToolsVersion() { return "14.0"; }
|
virtual const char* GetToolsVersion() { return "14.0"; }
|
||||||
protected:
|
protected:
|
||||||
virtual const char* GetIDEVersion() { return "14.0"; }
|
virtual const char* GetIDEVersion() { return "14.0"; }
|
||||||
|
|
|
@ -24,16 +24,6 @@ cmGlobalVisualStudio71Generator::cmGlobalVisualStudio71Generator(
|
||||||
this->Version = VS71;
|
this->Version = VS71;
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio71Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
cmLocalVisualStudio7Generator *lg =
|
|
||||||
new cmLocalVisualStudio7Generator(this, parent);
|
|
||||||
return lg;
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
std::string cmGlobalVisualStudio71Generator::GetUserMacrosDirectory()
|
std::string cmGlobalVisualStudio71Generator::GetUserMacrosDirectory()
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,9 +36,6 @@ public:
|
||||||
/** Get the documentation entry for this generator. */
|
/** Get the documentation entry for this generator. */
|
||||||
static void GetDocumentation(cmDocumentationEntry& entry);
|
static void GetDocumentation(cmDocumentationEntry& entry);
|
||||||
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Where does this version of Visual Studio look for macros for the
|
* Where does this version of Visual Studio look for macros for the
|
||||||
* current user? Returns the empty string if this version of Visual
|
* current user? Returns the empty string if this version of Visual
|
||||||
|
|
|
@ -125,16 +125,6 @@ std::string cmGlobalVisualStudio8Generator::FindDevEnvCommand()
|
||||||
return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
|
return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio8Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
cmLocalVisualStudio7Generator *lg =
|
|
||||||
new cmLocalVisualStudio7Generator(this, parent);
|
|
||||||
return lg;
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmGlobalVisualStudio8Generator
|
void cmGlobalVisualStudio8Generator
|
||||||
::EnableLanguage(std::vector<std::string>const & lang,
|
::EnableLanguage(std::vector<std::string>const & lang,
|
||||||
|
|
|
@ -33,9 +33,6 @@ public:
|
||||||
/** Get the documentation entry for this generator. */
|
/** Get the documentation entry for this generator. */
|
||||||
static void GetDocumentation(cmDocumentationEntry& entry);
|
static void GetDocumentation(cmDocumentationEntry& entry);
|
||||||
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
virtual void EnableLanguage(std::vector<std::string>const& languages,
|
virtual void EnableLanguage(std::vector<std::string>const& languages,
|
||||||
cmMakefile *, bool optional);
|
cmMakefile *, bool optional);
|
||||||
virtual void AddPlatformDefinitions(cmMakefile* mf);
|
virtual void AddPlatformDefinitions(cmMakefile* mf);
|
||||||
|
|
|
@ -114,15 +114,6 @@ void cmGlobalVisualStudio9Generator::WriteSLNHeader(std::ostream& fout)
|
||||||
fout << "# Visual Studio 2008\n";
|
fout << "# Visual Studio 2008\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
|
||||||
cmLocalGenerator *
|
|
||||||
cmGlobalVisualStudio9Generator::CreateLocalGenerator(cmLocalGenerator* parent)
|
|
||||||
{
|
|
||||||
cmLocalVisualStudio7Generator *lg
|
|
||||||
= new cmLocalVisualStudio7Generator(this, parent);
|
|
||||||
return lg;
|
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
std::string cmGlobalVisualStudio9Generator::GetUserMacrosDirectory()
|
std::string cmGlobalVisualStudio9Generator::GetUserMacrosDirectory()
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,9 +28,6 @@ public:
|
||||||
const std::string& platformName);
|
const std::string& platformName);
|
||||||
static cmGlobalGeneratorFactory* NewFactory();
|
static cmGlobalGeneratorFactory* NewFactory();
|
||||||
|
|
||||||
///! create the correct local generator
|
|
||||||
virtual cmLocalGenerator *CreateLocalGenerator(cmLocalGenerator* parent = 0);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to determine system information such as shared library
|
* Try to determine system information such as shared library
|
||||||
* extension, pthreads, byte order etc.
|
* extension, pthreads, byte order etc.
|
||||||
|
|
Loading…
Reference in New Issue