title: Does Cmake handle recursive builds correctly
body: <p>I am currently looking at replacements for the old make system for some projects. One of the alternatives I am currently looking at is <a href="http://www.cmake.org/" rel="nofollow">cmake</a>. However from what I know so far, CMake prefers to have one configuration file for each directory, similar to what Autotools and others prefer as well.</p>
  
  <p>I know that recursive make should be <a href="http://aegis.sourceforge.net/auug97.pdf" rel="nofollow">considered harmfull</a>, because not the whole dependency graph is know at all times (see the paper for details). For that reason other tools, which rely on recursive make, either do not work correctly in all cases or need some wrappers to work around these problems.</p>
  
  <p>I am currently trying to figure out how CMake handles this case, and if the issues mentioned in the paper were taken into account in the design. I will try out the examples mentioned in the paper, but in case they work, it will not give me a certainty, that recursive builds work in all cases.</p>
  
  <p>So the main question is: Was this issue taken into consideration for CMake or not? If so where can I read anything about their solution.</p>
  
  <p><strong>EDIT</strong>: </p>
  
  <p>I found the CMake <a href="http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_generate_recursive_Makefiles.3F" rel="nofollow">FAQ entry</a> on this issue, but I am not really satisfied by the answer. I guess the real answer is in there somewhere, but I cannot find it, because I have no knowledge so far of CMake internals and I am not planning on learning them, if I might decide beforehand, that it is not the right tool for my purposes.</p>