[CMake] parallel builds (ctest_build() ) for dashboards ?

David Cole david.cole at kitware.com
Mon Nov 30 15:17:29 EST 2009


In the script, prior to the ctest_build call, do:
set(CTEST_BUILD_FLAGS -j4)

(only works with make that supports -j, obviously...)


On Mon, Nov 30, 2009 at 3:05 PM, Alexander Neundorf <a.neundorf-work at gmx.net
> wrote:

> Hi,
>
> I'm running some dashboard builds and didn't find a way how to make the
> builds
> (via ctest_build()) run parallel, e.g. make -4.
> For ctest_test() there is a PARALLEL_LEVEL option, I didn't find this for
> ctest_build().
> Is it possible to do this ?
>
> Alex
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091130/800bd2a1/attachment.htm>


More information about the CMake mailing list