[Insight-developers] Too Many Projects in the default ITK build

William A. Hoffman billlist at nycap.rr.com
Fri May 13 09:57:15 EDT 2005


I think it is time to clean up the number of projects in ITK.
The test driver system was created to avoid this problem.   Basically,
with the IDE builds you get too many projects.   Visual studio sort of
handles the load, but it is very sluggish.  XCode just uses up all available
memory and crashes.  Right now by default when you run cmake on ITK, you
get 333 projects!   I am surprised that MS dev can handle it.


Here is the break down of where things are coming from:

With examples and testing on (default): 333 projects
With examples and testing off:  29 projects
With examples on and testing off:  293 projects
With testing on and examples off:  69 projects

So, it would seem that the culprit is the Examples, which adds an
additional 264 projects to ITK!  

I think we need to take the same approach as we did with the test driver,
with the examples.   A test driver can contain 50 or so programs.  So,
if we do the same thing for examples, then the 293 would drop to about 5 projects.
I think the target we should shoot for is no more than 100 projects in ITK.
The fewer the better of course.


-Bill



More information about the Insight-developers mailing list