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

Lorensen, William E (Research) lorensen at crd.ge.com
Fri May 13 10:29:17 EDT 2005


Actually, the examples are built twice. For testing purposes we use the test driver. They are also built to create single executables that can be run as they are described in the user manual.

We should discuss this at today's t-con.

Bill

-----Original Message-----
From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
[mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
Of William A. Hoffman
Sent: Friday, May 13, 2005 9:57 AM
To: insight-developers at itk.org
Subject: [Insight-developers] Too Many Projects in the default ITK build


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

_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list