From ab817f2e8108614947d7c559ff1bc970d02cbbc4 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 21 Oct 2004 15:21:38 -0400 Subject: COMP: fix warnings --- Source/cmLocalGenerator.cxx | 8 ++++++++ Source/cmTarget.cxx | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 80ffd1c..7e31f2c 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -605,6 +605,10 @@ void cmLocalGenerator::CreateCustomTargetsAndCommands(std::set cons this->AddBuildTargetRule(llang, target); } } + break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: break; } } @@ -1011,6 +1015,10 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, linkFlags += " "; } } + break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: break; } } diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index aa75573..2423bf8 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -823,6 +823,10 @@ const char* cmTarget::GetCreateRuleVariable() case cmTarget::EXECUTABLE: return "_LINK_EXECUTABLE"; break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: + break; } return ""; } -- cgit v0.12