From d2be142e3bd2b1347a5bce0c75740b3b2e7acd94 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 21 Dec 2007 13:10:33 -0500 Subject: BUG: Now that custom targets have dependencies their DependInfo files should be listed in Makefile.cmake. --- Source/cmGlobalUnixMakefileGenerator3.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index a723967..96d1b33 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -374,7 +374,7 @@ void cmGlobalUnixMakefileGenerator3 // now list all the target info files cmakefileStream - << "# The set of files whose dependency integrity should be checked:\n"; + << "# Dependency information for all targets:\n"; cmakefileStream << "SET(CMAKE_DEPEND_INFO_FILES\n"; for (unsigned int i = 0; i < lGenerators.size(); ++i) @@ -387,7 +387,8 @@ void cmGlobalUnixMakefileGenerator3 if((l->second.GetType() == cmTarget::EXECUTABLE) || (l->second.GetType() == cmTarget::STATIC_LIBRARY) || (l->second.GetType() == cmTarget::SHARED_LIBRARY) || - (l->second.GetType() == cmTarget::MODULE_LIBRARY) ) + (l->second.GetType() == cmTarget::MODULE_LIBRARY) || + (l->second.GetType() == cmTarget::UTILITY)) { std::string tname = lg->GetRelativeTargetDirectory(l->second); tname += "/DependInfo.cmake"; -- cgit v0.12