COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2006-03-28 16:25:29 -05:00
parent cca91e168a
commit 93f5712a7d
2 changed files with 9 additions and 0 deletions

View File

@ -516,6 +516,7 @@ void cmLocalGenerator::CreateCustomTargetsAndCommands(std::set<cmStdString> cons
case cmTarget::GLOBAL_TARGET: case cmTarget::GLOBAL_TARGET:
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
} }
@ -1086,6 +1087,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
case cmTarget::GLOBAL_TARGET: case cmTarget::GLOBAL_TARGET:
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
} }
@ -1445,6 +1447,7 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName,
return inName; return inName;
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
} }

View File

@ -924,6 +924,9 @@ const char *cmTarget::GetProperty(const char* prop)
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
return "INSTALL_PROGRAMS"; return "INSTALL_PROGRAMS";
break; break;
case cmTarget::INSTALL_DIRECTORY:
return "INSTALL_DIRECTORY";
break;
} }
return 0; return 0;
} }
@ -1027,6 +1030,7 @@ const char* cmTarget::GetCreateRuleVariable()
case cmTarget::GLOBAL_TARGET: case cmTarget::GLOBAL_TARGET:
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
return ""; return "";
@ -1051,6 +1055,7 @@ const char* cmTarget::GetSuffixVariableInternal(TargetType type,
case cmTarget::GLOBAL_TARGET: case cmTarget::GLOBAL_TARGET:
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
return ""; return "";
@ -1075,6 +1080,7 @@ const char* cmTarget::GetPrefixVariableInternal(TargetType type,
case cmTarget::GLOBAL_TARGET: case cmTarget::GLOBAL_TARGET:
case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: case cmTarget::INSTALL_PROGRAMS:
case cmTarget::INSTALL_DIRECTORY:
break; break;
} }
return ""; return "";