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 <[email protected]> wrote: > Does the -j option to ctest not do what you want? > > On Tue, Jun 27, 2017 at 9:32 PM, Damian Dixon <[email protected]> > 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 >
-- 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
