summaryrefslogtreecommitdiff
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 15:02:11 -0400
committerBrad King <brad.king@kitware.com>2015-07-09 09:50:06 -0400
commitabfa5f2d1fac0a55b430e078884ad1ae252d20cd (patch)
treee05d7c801401e2a38847e269c02d1a710f9ef9e0 /Source/cmCommonTargetGenerator.h
parent9d41f6d87b28c46d8a6d52f2de91976819e6b4d0 (diff)
downloadcmake-abfa5f2d1fac0a55b430e078884ad1ae252d20cd.tar.gz
cmCommonTargetGenerator: Adopt ConfigName member
De-duplicate the member from the Makefile and Ninja target generators.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index e39f2c83e0..bf2add39a5 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -29,12 +29,15 @@ public:
cmCommonTargetGenerator(cmGeneratorTarget* gt);
virtual ~cmCommonTargetGenerator();
+ std::string const& GetConfigName() const;
+
protected:
cmGeneratorTarget* GeneratorTarget;
cmTarget* Target;
cmMakefile* Makefile;
cmLocalCommonGenerator* LocalGenerator;
cmGlobalCommonGenerator* GlobalGenerator;
+ std::string ConfigName;
};
#endif