summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalCommonGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-07 20:37:56 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:05 (GMT)
commit001f9b361711b479ee0d530056e44b7444edfcff (patch)
tree480f5e333a21000e27c0e7042d3ac9fbdba9e8af /Source/cmGlobalCommonGenerator.h
parent6f6664f578426e15e6e101f20a0c54a7b2820e96 (diff)
downloadCMake-001f9b361711b479ee0d530056e44b7444edfcff.zip
CMake-001f9b361711b479ee0d530056e44b7444edfcff.tar.gz
CMake-001f9b361711b479ee0d530056e44b7444edfcff.tar.bz2
Add common base classes to Makefile and Ninja generators
Provide a place to move functionality common to both.
Diffstat (limited to 'Source/cmGlobalCommonGenerator.h')
-rw-r--r--Source/cmGlobalCommonGenerator.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Source/cmGlobalCommonGenerator.h b/Source/cmGlobalCommonGenerator.h
new file mode 100644
index 0000000..7bb0e55
--- /dev/null
+++ b/Source/cmGlobalCommonGenerator.h
@@ -0,0 +1,27 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2015 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmGlobalCommonGenerator_h
+#define cmGlobalCommonGenerator_h
+
+#include "cmGlobalGenerator.h"
+
+/** \class cmGlobalCommonGenerator
+ * \brief Common infrastructure for Makefile and Ninja global generators.
+ */
+class cmGlobalCommonGenerator : public cmGlobalGenerator
+{
+public:
+ cmGlobalCommonGenerator(cmake* cm);
+ ~cmGlobalCommonGenerator();
+};
+
+#endif