<p>Do you mean not even build subdirectories?</p>
<div class="gmail_quote">On Feb 24, 2011 11:09 PM, &quot;Mark Miller&quot; &lt;<a href="mailto:miller86@llnl.gov">miller86@llnl.gov</a>&gt; wrote:<br type="attribution">&gt; I am on a large project that uses CMake. I do my development primarily<br>
&gt; on Linux. Prior to introduction of CMake, the makefiles we produced<br>&gt; would be such that I could cd into some directory and type something<br>&gt; like &#39;make -j 4&#39; and it would make everything in that directory AND ONLY<br>
&gt; that directory, in parallel.<br>&gt; <br>&gt; However, now with the Makefiles that CMake is producing, that is no<br>&gt; longer possible. Or, at least I don&#39;t know how to invoke either CMake<br>&gt; (to generate the Makefiles) or perhaps make with appropriate variable(s)<br>
&gt; set to affect desired behavior.<br>&gt; <br>&gt; Does anyone know of a way to do this? Is there a way to invoke CMake<br>&gt; such that the resulting Makefiles do not &#39;follow dependencies&#39; out of<br>&gt; cwd? Or, are there maybe some Make variables CMake defines that I can<br>
&gt; then pass to Make to prevent it from following dependencies out of cwd?<br>&gt; <br>&gt; I suppose I&#39;d even accept a solution that required (minor) adjustments<br>&gt; to top-level CMakeLists.txt file to affect this behavior.<br>
&gt; <br>&gt; Thanks in advance for any help.<br>&gt; <br>&gt; Mark<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Mark C. Miller, Lawrence Livermore National Laboratory<br>&gt; ================!!LLNL BUSINESS ONLY!!================<br>
&gt; <a href="mailto:miller86@llnl.gov">miller86@llnl.gov</a>      urgent: <a href="mailto:miller86@pager.llnl.gov">miller86@pager.llnl.gov</a><br>&gt; T:8-6 (925)-423-5901    M/W/Th:7-12,2-7 (530)-753-8511<br>&gt; <br>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>&gt; <br>&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; <br>&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></div>