[CMake] ctest: building test in parellel

Craig Scott craig.scott at crascit.com
Tue Jun 27 07:34:50 EDT 2017


Does the -j option to ctest not do what you want?

On Tue, Jun 27, 2017 at 9:32 PM, Damian Dixon <damian.dixon at gmail.com>
wrote:

> Hi,
>
> Is there anyway to build tests in parallel when using ctest?
>
> I am generating makefiles on Linux.
>
> Part of the reason I am asking this is that if I pre-build the test for
> some unknown reason ctest rebuilds the source files.
>
> I am currently using cmake 3.8.0.
>
> Thanks
> Damian
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>



-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170627/6730319b/attachment.html>


More information about the CMake mailing list