ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators.

This commit is contained in:
Brad King 2007-04-04 11:22:14 -04:00
parent 3411f2566a
commit 2c1204e361
5 changed files with 68 additions and 4 deletions

View File

@ -210,6 +210,8 @@ IF (WIN32)
cmGlobalVisualStudio8Generator.h cmGlobalVisualStudio8Generator.h
cmGlobalVisualStudio8Win64Generator.cxx cmGlobalVisualStudio8Win64Generator.cxx
cmGlobalVisualStudio8Win64Generator.h cmGlobalVisualStudio8Win64Generator.h
cmGlobalVisualStudioGenerator.cxx
cmGlobalVisualStudioGenerator.h
cmGlobalWatcomWMakeGenerator.cxx cmGlobalWatcomWMakeGenerator.cxx
cmLocalVisualStudio6Generator.cxx cmLocalVisualStudio6Generator.cxx
cmLocalVisualStudio6Generator.h cmLocalVisualStudio6Generator.h

View File

@ -17,7 +17,7 @@
#ifndef cmGlobalVisualStudio6Generator_h #ifndef cmGlobalVisualStudio6Generator_h
#define cmGlobalVisualStudio6Generator_h #define cmGlobalVisualStudio6Generator_h
#include "cmGlobalGenerator.h" #include "cmGlobalVisualStudioGenerator.h"
class cmTarget; class cmTarget;
@ -26,7 +26,7 @@ class cmTarget;
* *
* cmGlobalVisualStudio6Generator manages UNIX build process for a tree * cmGlobalVisualStudio6Generator manages UNIX build process for a tree
*/ */
class cmGlobalVisualStudio6Generator : public cmGlobalGenerator class cmGlobalVisualStudio6Generator : public cmGlobalVisualStudioGenerator
{ {
public: public:
cmGlobalVisualStudio6Generator(); cmGlobalVisualStudio6Generator();

View File

@ -17,7 +17,7 @@
#ifndef cmGlobalVisualStudio7Generator_h #ifndef cmGlobalVisualStudio7Generator_h
#define cmGlobalVisualStudio7Generator_h #define cmGlobalVisualStudio7Generator_h
#include "cmGlobalGenerator.h" #include "cmGlobalVisualStudioGenerator.h"
class cmTarget; class cmTarget;
struct cmVS7FlagTable; struct cmVS7FlagTable;
@ -27,7 +27,7 @@ struct cmVS7FlagTable;
* *
* cmGlobalVisualStudio7Generator manages UNIX build process for a tree * cmGlobalVisualStudio7Generator manages UNIX build process for a tree
*/ */
class cmGlobalVisualStudio7Generator : public cmGlobalGenerator class cmGlobalVisualStudio7Generator : public cmGlobalVisualStudioGenerator
{ {
public: public:
cmGlobalVisualStudio7Generator(); cmGlobalVisualStudio7Generator();

View File

@ -0,0 +1,27 @@
/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "cmGlobalVisualStudioGenerator.h"
//----------------------------------------------------------------------------
cmGlobalVisualStudioGenerator::cmGlobalVisualStudioGenerator()
{
}
//----------------------------------------------------------------------------
cmGlobalVisualStudioGenerator::~cmGlobalVisualStudioGenerator()
{
}

View File

@ -0,0 +1,35 @@
/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef cmGlobalVisualStudioGenerator_h
#define cmGlobalVisualStudioGenerator_h
#include "cmGlobalGenerator.h"
/** \class cmGlobalVisualStudioGenerator
* \brief Base class for global Visual Studio generators.
*
* cmGlobalVisualStudioGenerator provides functionality common to all
* global Visual Studio generators.
*/
class cmGlobalVisualStudioGenerator : public cmGlobalGenerator
{
public:
cmGlobalVisualStudioGenerator();
virtual ~cmGlobalVisualStudioGenerator();
};
#endif