From 5415b65067ed2eabaa1bb64a50ced230074dab53 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 10 Apr 2007 08:49:42 -0400 Subject: STYLE: Added comment about why dependencies need to be chained to clarify code. --- Source/cmGlobalUnixMakefileGenerator3.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index c8fbc8f..d6f0db2 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -1166,6 +1166,8 @@ cmGlobalUnixMakefileGenerator3 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(); -- cgit v0.12