diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 15:27:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-09 13:50:06 (GMT) |
commit | 9d41f6d87b28c46d8a6d52f2de91976819e6b4d0 (patch) | |
tree | d158bddb7291f864ef8c3d3dd5cc842f1479bc2b /Source/cmLocalNinjaGenerator.cxx | |
parent | a4a2518dd47bd37f2204a0209c2eeb632d191d1e (diff) | |
download | CMake-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/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index e712b46..a293d06 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -26,7 +26,6 @@ cmLocalNinjaGenerator::cmLocalNinjaGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent, cmState::Snapshot snapshot) : cmLocalCommonGenerator(gg, parent, snapshot) - , ConfigName("") , HomeRelativeOutputPath("") { this->TargetImplib = "$TARGET_IMPLIB"; @@ -261,22 +260,6 @@ void cmLocalNinjaGenerator::WriteNinjaFilesInclusion(std::ostream& os) os << "\n"; } -void cmLocalNinjaGenerator::SetConfigName() -{ - // Store the configuration name that will be generated. - if(const char* config = - this->GetMakefile()->GetDefinition("CMAKE_BUILD_TYPE")) - { - // Use the build type given by the user. - this->ConfigName = config; - } - else - { - // No configuration type given. - this->ConfigName = ""; - } -} - //---------------------------------------------------------------------------- void cmLocalNinjaGenerator::ComputeObjectFilenames( std::map<cmSourceFile const*, std::string>& mapping, |