[cmake-commits] king committed cmDependsFortran.cxx 1.21 1.22

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 3 16:19:21 EDT 2007


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

Modified Files:
	cmDependsFortran.cxx 
Log Message:
BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it.  Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file.  This addresses bug#3984.


Index: cmDependsFortran.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortran.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- cmDependsFortran.cxx	3 Oct 2007 19:41:39 -0000	1.21
+++ cmDependsFortran.cxx	3 Oct 2007 20:19:19 -0000	1.22
@@ -154,6 +154,9 @@
       // since we require some things add them to our list of requirements
       makeDepends << obj << ".requires: " << i->c_str() << ".mod.proxy"
          << std::endl;
+
+      // create an empty proxy in case no other source provides it
+      makeDepends << i->c_str() << ".mod.proxy:" << std::endl;
       }
     }
 



More information about the Cmake-commits mailing list