summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCommonGenerator.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/cmLocalCommonGenerator.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/cmLocalCommonGenerator.h')
-rw-r--r--Source/cmLocalCommonGenerator.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/cmLocalCommonGenerator.h b/Source/cmLocalCommonGenerator.h
new file mode 100644
index 0000000..c897e49
--- /dev/null
+++ b/Source/cmLocalCommonGenerator.h
@@ -0,0 +1,29 @@
+/*============================================================================
+ 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 cmLocalCommonGenerator_h
+#define cmLocalCommonGenerator_h
+
+#include "cmLocalGenerator.h"
+
+/** \class cmLocalCommonGenerator
+ * \brief Common infrastructure for Makefile and Ninja local generators.
+ */
+class cmLocalCommonGenerator: public cmLocalGenerator
+{
+public:
+ cmLocalCommonGenerator(cmGlobalGenerator* gg,
+ cmLocalGenerator* parent,
+ cmState::Snapshot snapshot);
+ ~cmLocalCommonGenerator();
+};
+
+#endif