summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 19:02:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:06 (GMT)
commitabfa5f2d1fac0a55b430e078884ad1ae252d20cd (patch)
treee05d7c801401e2a38847e269c02d1a710f9ef9e0 /Source/cmCommonTargetGenerator.h
parent9d41f6d87b28c46d8a6d52f2de91976819e6b4d0 (diff)
downloadCMake-abfa5f2d1fac0a55b430e078884ad1ae252d20cd.zip
CMake-abfa5f2d1fac0a55b430e078884ad1ae252d20cd.tar.gz
CMake-abfa5f2d1fac0a55b430e078884ad1ae252d20cd.tar.bz2
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 e39f2c8..bf2add3 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