In the script, prior to the ctest_build call, do:<div>set(CTEST_BUILD_FLAGS -j4)<br><div><br></div><div>(only works with make that supports -j, obviously...)</div><div><br></div><div><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 3:05 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I'm running some dashboard builds and didn't find a way how to make the builds<br>
(via ctest_build()) run parallel, e.g. make -4.<br>
For ctest_test() there is a PARALLEL_LEVEL option, I didn't find this for<br>
ctest_build().<br>
Is it possible to do this ?<br>
<br>
Alex<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div></div>