[CMake] ctest: building test in parellel

Damian Dixon damian.dixon at gmail.com
Tue Jun 27 07:40:46 EDT 2017


Sadly -j does not appear to help.

I have also tried setting the gmake MAKEFLAGS environment as well.

On 27 June 2017 at 12:34, Craig Scott <craig.scott at crascit.com> wrote:

> 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/97214c24/attachment.html>


More information about the CMake mailing list