cmGlobalGenerator: Implement VS6 check without virtual method.
Don't require existence of a global generator for this check.
This commit is contained in:
parent
cd6293cdf8
commit
7f551b4f26
@ -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"; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user