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.cxx | |
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.cxx')
-rw-r--r-- | Source/cmCommonTargetGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx index 9d10e39..3edeff3 100644 --- a/Source/cmCommonTargetGenerator.cxx +++ b/Source/cmCommonTargetGenerator.cxx @@ -23,9 +23,15 @@ cmCommonTargetGenerator::cmCommonTargetGenerator(cmGeneratorTarget* gt) , LocalGenerator(static_cast<cmLocalCommonGenerator*>(gt->LocalGenerator)) , GlobalGenerator(static_cast<cmGlobalCommonGenerator*>( gt->LocalGenerator->GetGlobalGenerator())) + , ConfigName(LocalGenerator->GetConfigName()) { } cmCommonTargetGenerator::~cmCommonTargetGenerator() { } + +std::string const& cmCommonTargetGenerator::GetConfigName() const +{ + return this->ConfigName; +} |