summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 15:13:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:05 (GMT)
commite7dcdd1011719b031d580d9094ad1f8c4701ef38 (patch)
tree16e8468d64006928ade55b3f37555d689eacec39 /Source/cmCommonTargetGenerator.h
parent001f9b361711b479ee0d530056e44b7444edfcff (diff)
downloadCMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.zip
CMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.tar.gz
CMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.tar.bz2
cmCommonTargetGenerator: Adopt basic target generator members
De-duplicate the GeneratorTarget, Target, and Makefile members from the local Makefile and Ninja generators.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index 96f4088..e39f2c8 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -14,14 +14,27 @@
#include "cmStandardIncludes.h"
+class cmGeneratorTarget;
+class cmGlobalCommonGenerator;
+class cmLocalCommonGenerator;
+class cmMakefile;
+class cmTarget;
+
/** \class cmCommonTargetGenerator
* \brief Common infrastructure for Makefile and Ninja per-target generators
*/
class cmCommonTargetGenerator
{
public:
- cmCommonTargetGenerator();
+ cmCommonTargetGenerator(cmGeneratorTarget* gt);
virtual ~cmCommonTargetGenerator();
+
+protected:
+ cmGeneratorTarget* GeneratorTarget;
+ cmTarget* Target;
+ cmMakefile* Makefile;
+ cmLocalCommonGenerator* LocalGenerator;
+ cmGlobalCommonGenerator* GlobalGenerator;
};
#endif