mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets.
This commit is contained in:
parent
6a145fb2be
commit
9d75da9eaf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user