[cmake-commits] king committed cmGlobalUnixMakefileGenerator3.cxx
1.101 1.102
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Apr 10 08:49:44 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv7899/Source
Modified Files:
cmGlobalUnixMakefileGenerator3.cxx
Log Message:
STYLE: Added comment about why dependencies need to be chained to clarify code.
Index: cmGlobalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.cxx,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- cmGlobalUnixMakefileGenerator3.cxx 12 Mar 2007 14:26:59 -0000 1.101
+++ cmGlobalUnixMakefileGenerator3.cxx 10 Apr 2007 12:49:42 -0000 1.102
@@ -1166,6 +1166,8 @@
depends.push_back(tgtName);
if(result->GetType() == cmTarget::STATIC_LIBRARY)
{
+ // Since the static library itself does not list dependencies we
+ // need to chain its dependencies here.
const cmTarget::LinkLibraryVectorType& tlibs
= result->GetLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = tlibs.begin();
More information about the Cmake-commits
mailing list