[cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.236 1.237

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 15 11:56:15 EST 2008


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

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- cmLocalUnixMakefileGenerator3.cxx	15 Feb 2008 16:22:23 -0000	1.236
+++ cmLocalUnixMakefileGenerator3.cxx	15 Feb 2008 16:56:13 -0000	1.237
@@ -1080,7 +1080,7 @@
       {
       cmSystemTools::Error("Could not create ", cleanfilePath.c_str());
       }
-    fout << "FILE(REMOVE\n";
+    fout << "FILE(REMOVE_RECURSE\n";
     std::string remove = "$(CMAKE_COMMAND) -P ";
     remove += this->Convert(cleanfile.c_str(), START_OUTPUT, SHELL);
     for(std::vector<std::string>::const_iterator f = files.begin();



More information about the Cmake-commits mailing list