summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.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/cmNinjaTargetGenerator.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/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index fc361b2..a98f04e 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -13,6 +13,8 @@
#ifndef cmNinjaTargetGenerator_h
#define cmNinjaTargetGenerator_h
+#include "cmCommonTargetGenerator.h"
+
#include "cmStandardIncludes.h"
#include "cmNinjaTypes.h"
#include "cmLocalNinjaGenerator.h"
@@ -26,7 +28,7 @@ class cmMakefile;
class cmSourceFile;
class cmCustomCommand;
-class cmNinjaTargetGenerator
+class cmNinjaTargetGenerator: public cmCommonTargetGenerator
{
public:
/// Create a cmNinjaTargetGenerator according to the @a target's type.