瀏覽代碼

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

Brad King 18 年之前
父節點
當前提交
9d75da9eaf
共有 1 個文件被更改,包括 0 次插入28 次删除
  1. 0 28
      Source/cmLocalGenerator.cxx

+ 0 - 28
Source/cmLocalGenerator.cxx

@@ -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;