[CMake] Does a ctested build work with make -j

Bill Hoffman bill.hoffman at kitware.com
Mon Jan 27 17:12:41 EST 2014


On 1/27/2014 1:42 PM, John Cary wrote:
> It seems that after configuring with ctest enabled,
>
>    make -j4
>      does 4 builds at once
>    make ExperimentalStart ExperimentalBUild -j4
>      does only one build at a time.
>
> Is this behavior expected?
>
> Is there a way to get back to parallel builds when using ctest for the
> build?
>
> Thx....John Cary
You want to add the -j to this cache variable:
MAKECOMMAND

Or use a ctest script to drive the dashboard and use the 
CTEST_BUILD_COMMAND variable.

-Bill



More information about the CMake mailing list