On 10/31/2013 1:17 PM, Stephen Kelly wrote:
>There is a -j flag for ctest, which at enables parallel testing. Not sure
>whether it enables also parallel building.
I don't know, but I hope not. That wouldn't be a good idea because it would
try to do N*N things at once instead of N things at once, with make.
No, it would not. It does the build first, then it does the tests. However, the -j to ctest only affects the tests.

If you configure your build with this option:
-DMAKECOMMAND:STRING=make -j8

Then ctest will build in parallel.

-Bill

--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to