ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets.

This commit is contained in:
Brad King 2007-05-23 18:22:52 -04:00
parent 6a145fb2be
commit 9d75da9eaf
1 changed files with 0 additions and 28 deletions

View File

@ -2451,34 +2451,6 @@ cmLocalGenerator
#endif
}
break;
case cmTarget::INSTALL_FILES:
{
// Use a file install generator.
const char* no_permissions = "";
const char* no_rename = "";
const char* no_component = "";
std::vector<std::string> no_configurations;
cmInstallFilesGenerator g(l->second.GetSourceLists(),
destination.c_str(), false,
no_permissions, no_configurations,
no_component, no_rename);
g.Generate(os, config, configurationTypes);
}
break;
case cmTarget::INSTALL_PROGRAMS:
{
// Use a file install generator.
const char* no_permissions = "";
const char* no_rename = "";
const char* no_component = "";
std::vector<std::string> no_configurations;
cmInstallFilesGenerator g(l->second.GetSourceLists(),
destination.c_str(), true,
no_permissions, no_configurations,
no_component, no_rename);
g.Generate(os, config, configurationTypes);
}
break;
case cmTarget::UTILITY:
default:
break;