[CMake] CTest - Speed Optimization
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Oct 31 12:58:05 EDT 2013
On Thursday 31 October 2013, Olaf Ryder wrote:
> Greetings,
>
> I'm looking for ways to speed up CTest runs (the Experimental target). It
> would appear the majority of the time is spent during the build step.
>
> 1) What exactly is happening during the Experimental build step?
> 2) How does CTest know what targets to build within a complex project?
I think it builds everything.
> 3) Is there a way to get verbose output of what's going on during the
> various steps?
Did you try ctest -V or, ctest -V -VV ?
There is a -j flag for ctest, which at enables parallel testing. Not sure
whether it enables also parallel building.
Alex
More information about the CMake
mailing list