Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
95e2b607
Commit
95e2b607
authored
Jul 15, 2005
by
Bill Hoffman
Browse files
ENH: remove commented code
parent
9e99e4f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmLocalUnixMakefileGenerator3.cxx
View file @
95e2b607
...
...
@@ -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
}
//----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment