diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 19:02:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-09 13:50:06 (GMT) |
commit | abfa5f2d1fac0a55b430e078884ad1ae252d20cd (patch) | |
tree | e05d7c801401e2a38847e269c02d1a710f9ef9e0 /Source/cmCommonTargetGenerator.h | |
parent | 9d41f6d87b28c46d8a6d52f2de91976819e6b4d0 (diff) | |
download | CMake-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.h | 3 |
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 |