Hi,<div><br></div><div>I searched the cmake list archive and found a reference in 2004 about modifying cmake to generate non-recursive makefiles:</div><div><span style="font-family:Times;font-size:medium"><pre>On Jan 30, 2004, at 2:44 PM, William A. Hoffman wrote:
><i> Right now there is no way to create non-recursive makefiles.
</i>><i> We have some plans to create non-recursive makefiles. However,
</i>><i> I am not sure one large makefile will scale for larger projects.
</i>><i> We have had problems with make on various systems and large files, or
</i>><i> too many dependencies. We have seen that problem even with the
</i>><i> recursive make that we use. So, I don't really agree with the paper
</i>><i> on that point. If you are interested in trying a non-recursive
</i>><i> generator, I could point you at the right places in the code.
</i>><i> It would involve creating new class like
</i>><i> cmLocalUnixMakefileGenerator.cxx.
</i>></pre><pre><span style="font-family:arial;white-space:normal;font-size:small">Has anyone done any work in this area?</span></pre><pre><font face="arial"><span style="font-size:small;white-space:normal">A year ago I migrated our build system to cmake. Using distcc and a distributed build farm, we were able to reduce build time on linux from over an hour to about 5 minutes. I'm now looking for opportunities to reach the next level of build performance. One thing I identified is that with generated recursive make files we can only send compile jobs out one directory at a time. I'm hoping that with a non-recursive make file we'll be able to send a higher number of independent source files out to the build farm in parallel.</span></font></pre>
<pre><font face="arial"><span style="font-size:small;white-space:normal">I'm open to contributing code if no one has done it yet.</span></font></pre><pre><font face="arial"><span style="font-size:small;white-space:normal">Thanks,</span></font></pre>
<pre><font face="arial"><span style="font-size:small;white-space:normal">Sahn</span></font></pre><pre><font face="arial"><span style="font-size:small;white-space:normal"><br>
</span></font></pre></span></div>