summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-01-14 00:35:16 (GMT)
committerBrad King <brad.king@kitware.com>2006-01-14 00:35:16 (GMT)
commit079826d3670354e5331bbdc1c09f4e7376e16b54 (patch)
treeec053446c7e53370633352df5dbef4812f5c89c0 /Source/cmLocalGenerator.cxx
parent327489ae590087064cbff1f924b8a44c8e835557 (diff)
downloadCMake-079826d3670354e5331bbdc1c09f4e7376e16b54.zip
CMake-079826d3670354e5331bbdc1c09f4e7376e16b54.tar.gz
CMake-079826d3670354e5331bbdc1c09f4e7376e16b54.tar.bz2
COMP: Removed unused variables.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index ed6e372..8e91368 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1307,17 +1307,6 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
std::vector<std::string> runtimeDirs;
const char* config = m_Makefile->GetDefinition("CMAKE_BUILD_TYPE");
- std::string buildType = config?config:"";
- buildType = cmSystemTools::UpperCase(buildType);
- cmTarget::LinkLibraryType cmakeBuildType = cmTarget::GENERAL;
- if(buildType == "DEBUG")
- {
- cmakeBuildType = cmTarget::DEBUG;
- }
- else if(buildType.size())
- {
- cmakeBuildType = cmTarget::OPTIMIZED;
- }
const char* linkLanguage = tgt.GetLinkerLanguage(this->GetGlobalGenerator());
if(!linkLanguage)
{