summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:37:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:37:25 (GMT)
commit95e2b6070f6e5fed061071b7a00a2cdd706cdf50 (patch)
tree5be17eb4238044b0058ac3228db1e7934ef28068
parent9e99e4f92a3a1801d6ccfd766c2f21008b056d9c (diff)
downloadCMake-95e2b6070f6e5fed061071b7a00a2cdd706cdf50.zip
CMake-95e2b6070f6e5fed061071b7a00a2cdd706cdf50.tar.gz
CMake-95e2b6070f6e5fed061071b7a00a2cdd706cdf50.tar.bz2
ENH: remove commented code
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 3adca7f..4559904 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -2133,7 +2133,6 @@ cmLocalUnixMakefileGenerator3
::AppendTargetDepends(std::vector<std::string>& depends,
cmTarget& target)
{
- // Do not bother with dependencies for static libraries.
if(target.GetType() == cmTarget::STATIC_LIBRARY)
{
return;
@@ -2157,26 +2156,6 @@ cmLocalUnixMakefileGenerator3
this->AppendAnyDepend(depends, lib->first.c_str());
}
}
-
- // Loop over all utility dependencies.
-
- // Ken --- we trust that the parent build system handled the utility
- // targets, really we trust that it also handled the libs but there is no
- // harm in listing the libs as depends, if the libs are not present they
- // cannot be built (the rules are not there) but at least it will squak
-#if 0
- const std::set<cmStdString>& tutils = target.GetUtilities();
- for(std::set<cmStdString>::const_iterator util = tutils.begin();
- util != tutils.end(); ++util)
- {
- // Don't emit the same utility twice for this target.
- if(emitted.insert(*util).second)
- {
- // Add this dependency.
- this->AppendAnyDepend(depends, util->c_str());
- }
- }
-#endif
}
//----------------------------------------------------------------------------