summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCommonGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-08 15:27:22 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:50:06 (GMT)
commit9d41f6d87b28c46d8a6d52f2de91976819e6b4d0 (patch)
treed158bddb7291f864ef8c3d3dd5cc842f1479bc2b /Source/cmLocalCommonGenerator.h
parenta4a2518dd47bd37f2204a0209c2eeb632d191d1e (diff)
downloadCMake-9d41f6d87b28c46d8a6d52f2de91976819e6b4d0.zip
CMake-9d41f6d87b28c46d8a6d52f2de91976819e6b4d0.tar.gz
CMake-9d41f6d87b28c46d8a6d52f2de91976819e6b4d0.tar.bz2
cmLocalCommonGenerator: Adopt ConfigName member
De-duplicate the member from the local Makefile and Ninja generators.
Diffstat (limited to 'Source/cmLocalCommonGenerator.h')
-rw-r--r--Source/cmLocalCommonGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmLocalCommonGenerator.h b/Source/cmLocalCommonGenerator.h
index c897e49..c18ec16 100644
--- a/Source/cmLocalCommonGenerator.h
+++ b/Source/cmLocalCommonGenerator.h
@@ -24,6 +24,12 @@ public:
cmLocalGenerator* parent,
cmState::Snapshot snapshot);
~cmLocalCommonGenerator();
+
+ std::string const& GetConfigName() { return this->ConfigName; }
+
+protected:
+ void SetConfigName();
+ std::string ConfigName;
};
#endif