summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-04 15:22:14 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-04 15:22:14 (GMT)
commit2c1204e36167ef31bd8443fb46e0e540b425a61c (patch)
tree13d1b9a3f54d8f8a75a9a52411973bf748dc4bac /Source
parent3411f2566a03a1d01178e6f3f62d5896a5eaedfc (diff)
downloadCMake-2c1204e36167ef31bd8443fb46e0e540b425a61c.zip
CMake-2c1204e36167ef31bd8443fb46e0e540b425a61c.tar.gz
CMake-2c1204e36167ef31bd8443fb46e0e540b425a61c.tar.bz2
ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators.
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt2
-rw-r--r--Source/cmGlobalVisualStudio6Generator.h4
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h4
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx27
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h35
5 files changed, 68 insertions, 4 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 825d76a..f32ce0f 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -210,6 +210,8 @@ IF (WIN32)
cmGlobalVisualStudio8Generator.h
cmGlobalVisualStudio8Win64Generator.cxx
cmGlobalVisualStudio8Win64Generator.h
+ cmGlobalVisualStudioGenerator.cxx
+ cmGlobalVisualStudioGenerator.h
cmGlobalWatcomWMakeGenerator.cxx
cmLocalVisualStudio6Generator.cxx
cmLocalVisualStudio6Generator.h
diff --git a/Source/cmGlobalVisualStudio6Generator.h b/Source/cmGlobalVisualStudio6Generator.h
index 792e7b1..ce330c7 100644
--- a/Source/cmGlobalVisualStudio6Generator.h
+++ b/Source/cmGlobalVisualStudio6Generator.h
@@ -17,7 +17,7 @@
#ifndef cmGlobalVisualStudio6Generator_h
#define cmGlobalVisualStudio6Generator_h
-#include "cmGlobalGenerator.h"
+#include "cmGlobalVisualStudioGenerator.h"
class cmTarget;
@@ -26,7 +26,7 @@ class cmTarget;
*
* cmGlobalVisualStudio6Generator manages UNIX build process for a tree
*/
-class cmGlobalVisualStudio6Generator : public cmGlobalGenerator
+class cmGlobalVisualStudio6Generator : public cmGlobalVisualStudioGenerator
{
public:
cmGlobalVisualStudio6Generator();
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index 7719cd9..7bdc378 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -17,7 +17,7 @@
#ifndef cmGlobalVisualStudio7Generator_h
#define cmGlobalVisualStudio7Generator_h
-#include "cmGlobalGenerator.h"
+#include "cmGlobalVisualStudioGenerator.h"
class cmTarget;
struct cmVS7FlagTable;
@@ -27,7 +27,7 @@ struct cmVS7FlagTable;
*
* cmGlobalVisualStudio7Generator manages UNIX build process for a tree
*/
-class cmGlobalVisualStudio7Generator : public cmGlobalGenerator
+class cmGlobalVisualStudio7Generator : public cmGlobalVisualStudioGenerator
{
public:
cmGlobalVisualStudio7Generator();
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
new file mode 100644
index 0000000..8a7c4ff
--- /dev/null
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -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()
+{
+}
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
new file mode 100644
index 0000000..53bee5f
--- /dev/null
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -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