mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-10 02:19:10 -05:00
cmGlobalGenerator: Implement VS6 check without virtual method.
Don't require existence of a global generator for this check.
This commit is contained in:
@@ -242,7 +242,7 @@ public:
|
|||||||
|
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
/** Is this the Visual Studio 6 generator? */
|
/** Is this the Visual Studio 6 generator? */
|
||||||
virtual bool IsForVS6() const { return false; }
|
bool IsForVS6() const { return this->GetName() == "Visual Studio 6"; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
///! Find a target by name by searching the local generators.
|
///! Find a target by name by searching the local generators.
|
||||||
|
|||||||
@@ -85,8 +85,6 @@ public:
|
|||||||
|
|
||||||
virtual void FindMakeProgram(cmMakefile*);
|
virtual void FindMakeProgram(cmMakefile*);
|
||||||
|
|
||||||
virtual bool IsForVS6() const { return true; }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void Generate();
|
virtual void Generate();
|
||||||
virtual const char* GetIDEVersion() { return "6.0"; }
|
virtual const char* GetIDEVersion() { return "6.0"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user