[cmake-commits] king committed cmGlobalUnixMakefileGenerator3.cxx 1.118 1.119

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Dec 21 13:10:35 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv13769/Source

Modified Files:
	cmGlobalUnixMakefileGenerator3.cxx 
Log Message:
BUG: Now that custom targets have dependencies their DependInfo files should be listed in Makefile.cmake.


Index: cmGlobalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.cxx,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- cmGlobalUnixMakefileGenerator3.cxx	21 Dec 2007 17:22:12 -0000	1.118
+++ cmGlobalUnixMakefileGenerator3.cxx	21 Dec 2007 18:10:33 -0000	1.119
@@ -374,7 +374,7 @@
 
   // 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 @@
       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";



More information about the Cmake-commits mailing list