[cmake-commits] king committed cmLocalGenerator.cxx 1.222 1.223
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed May 23 18:22:54 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv17507
Modified Files:
cmLocalGenerator.cxx
Log Message:
ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets.
Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -d -r1.222 -r1.223
--- cmLocalGenerator.cxx 23 May 2007 19:40:12 -0000 1.222
+++ cmLocalGenerator.cxx 23 May 2007 22:22:52 -0000 1.223
@@ -2451,34 +2451,6 @@
#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;
More information about the Cmake-commits
mailing list