[Insight-developers] ITK CVS ->Git
Brad King
brad.king at kitware.com
Fri Jul 23 15:41:41 EDT 2010
On 07/23/2010 03:34 PM, Brad King wrote:
> On 07/23/2010 02:11 PM, Kevin H. Hobbs wrote:
>> When I was updating my CMake, VTK, and ParaView dashboard scripts for
>> the git transition I was unable to use the common.cmake scripts and do
>> both the build and the testing in parallel.
>>
>> If ITK moves to a common CMake script it would be nice if it supported
>> parallel testing.
>
> All of those projects's *_common.cmake scripts support this:
>
> set(CTEST_TEST_ARGS PARALLEL_LEVEL 4)
>
> They call ctest_test(${CTEST_TEST_ARGS}). I see this is not
> documented in the comments at the top though. I'll fix that.
Oh, and for building in parallel we already document how:
set(CTEST_BUILD_FLAGS "-j4")
in the common scripts.
-Brad
More information about the Insight-developers
mailing list