[Insight-users] Building ITK with multiple cores

Bill Hoffman bill.hoffman at kitware.com
Sat Oct 24 22:09:48 EDT 2009


Bill Lorensen wrote:
> Bill,
> 
> So how do we attend to this issue?
> 

OK, I think I found the problem, and it was me... :)


In Insight/Wrapping/CSwig/CMakeLists.txt, around line 36 I put this in:


SET(ITK_WRAP_NEEDS_DEPEND 1)
IF(${CMAKE_MAKE_PROGRAM} MATCHES make)
   SET(ITK_WRAP_NEEDS_DEPEND 0)
ENDIF(${CMAKE_MAKE_PROGRAM} MATCHES make)


The comment was: BUG: fix build order for visual studio, but really that 
should just be done for all builds.

So, I have not tried this, but if that code was changed to:

SET(ITK_WRAP_NEEDS_DEPEND 1)

And the if make stuff removed, then parallel builds with wrapping should 
work again.

-Bill



More information about the Insight-users mailing list